Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix
Browse files
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.
|