Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
3284c98
1
Parent(s):
cefbdcf
Update app.py
Browse files
app.py
CHANGED
@@ -308,8 +308,8 @@ git+https://github.com/huggingface/datasets.git'''
|
|
308 |
outcome = subprocess.run(subprocess_command)
|
309 |
if(outcome.returncode == 0):
|
310 |
return f"""# Your training has started.
|
311 |
-
## -
|
312 |
-
## -
|
313 |
else:
|
314 |
raise gr.Error("Something went wrong. Make sure the name of your LoRA is unique and try again")
|
315 |
|
|
|
308 |
outcome = subprocess.run(subprocess_command)
|
309 |
if(outcome.returncode == 0):
|
310 |
return f"""# Your training has started.
|
311 |
+
## - Training Status: <a href='https://huggingface.co/spaces/{username}/autotrain-{slugged_lora_name}?logs=container'>{username}/autotrain-{slugged_lora_name}</a> <small>(in the logs tab)</small>
|
312 |
+
## - Model page: <a href='https://huggingface.co/{username}/{slugged_lora_name}'>{username}/{slugged_lora_name}</a> <small>(will be available when training finishes)</small>"""
|
313 |
else:
|
314 |
raise gr.Error("Something went wrong. Make sure the name of your LoRA is unique and try again")
|
315 |
|