update instance

#19
by abhishek HF staff - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -333,7 +333,7 @@ git+https://github.com/huggingface/datasets.git@3f149204a2a5948287adcade5e90707a
333
  # The subprocess call for autotrain spacerunner
334
  api = HfApi(token=token)
335
  username = api.whoami()["name"]
336
- subprocess_command = ["autotrain", "spacerunner", "--project-name", slugged_lora_name, "--script-path", spacerunner_folder, "--username", username, "--token", token, "--backend", "spaces-a10gs", "--env",f"HF_TOKEN={token};HF_HUB_ENABLE_HF_TRANSFER=1", "--args", spacerunner_args]
337
  outcome = subprocess.run(subprocess_command)
338
  if(outcome.returncode == 0):
339
  return f"""# Your training has started.
 
333
  # The subprocess call for autotrain spacerunner
334
  api = HfApi(token=token)
335
  username = api.whoami()["name"]
336
+ subprocess_command = ["autotrain", "spacerunner", "--project-name", slugged_lora_name, "--script-path", spacerunner_folder, "--username", username, "--token", token, "--backend", "spaces-a10g-small", "--env",f"HF_TOKEN={token};HF_HUB_ENABLE_HF_TRANSFER=1", "--args", spacerunner_args]
337
  outcome = subprocess.run(subprocess_command)
338
  if(outcome.returncode == 0):
339
  return f"""# Your training has started.