multimodalart HF staff commited on
Commit
3c167e9
1 Parent(s): 4f58dd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -290,7 +290,7 @@ git+https://github.com/huggingface/datasets.git'''
290
  subprocess_command = ["autotrain", "spacerunner", "--project-name", slugged_lora_name, "--script-path", spacerunner_folder, "--username", username, "--token", token, "--backend", "spaces-a10gl", "--env","HF_TOKEN=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;HF_HUB_ENABLE_HF_TRANSFER=1", "--args", spacerunner_args]
291
  print(subprocess_command)
292
  subprocess.run(subprocess_command)
293
- return f"<h2>Your training has started. Run over to <a href='https://huggingface.co/spaces/{username}/{slugged_lora_name}'>{username}/{slugged_lora_name}</a> to check the status (click the logs tab)</h2>"
294
 
295
  def start_training_og(
296
  lora_name,
 
290
  subprocess_command = ["autotrain", "spacerunner", "--project-name", slugged_lora_name, "--script-path", spacerunner_folder, "--username", username, "--token", token, "--backend", "spaces-a10gl", "--env","HF_TOKEN=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;HF_HUB_ENABLE_HF_TRANSFER=1", "--args", spacerunner_args]
291
  print(subprocess_command)
292
  subprocess.run(subprocess_command)
293
+ return f"<h2>Your training has started. Run over to <a href='https://huggingface.co/spaces/{username}/autotrain-{slugged_lora_name}'>{username}/autotrain-{slugged_lora_name}</a> to check the status (click the logs tab)</h2>"
294
 
295
  def start_training_og(
296
  lora_name,