abhishek HF staff commited on
Commit
fb57672
1 Parent(s): ab403a3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -196,7 +196,7 @@ def start_training(
196
  shutil.copy(script_location + "/requirements.autotrain", dataset_folder + "/requirements.txt")
197
  # command to run autotrain spacerunner
198
  cmd = f"autotrain spacerunner --project-name {slugged_lora_name} --script-path {dataset_folder}"
199
- cmd += f" --username {profile.username} --token {oauth_token} --backend spaces-l4x1"
200
  outcome = subprocess.run(cmd)
201
  if outcome.returncode == 0:
202
  return f"""# Your training has started.
 
196
  shutil.copy(script_location + "/requirements.autotrain", dataset_folder + "/requirements.txt")
197
  # command to run autotrain spacerunner
198
  cmd = f"autotrain spacerunner --project-name {slugged_lora_name} --script-path {dataset_folder}"
199
+ cmd += f" --username {profile.username} --token {oauth_token.token} --backend spaces-l4x1"
200
  outcome = subprocess.run(cmd)
201
  if outcome.returncode == 0:
202
  return f"""# Your training has started.