Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -342,7 +342,7 @@ def start_training(
|
|
342 |
|
343 |
|
344 |
cmd = f"autotrain spacerunner --project-name {slugged_lora_name} --script-path {dataset_folder}"
|
345 |
-
cmd += f" --username {profile.username} --token {hf_token} --backend spaces-
|
346 |
outcome = subprocess.run(cmd.split(), capture_output=True, text=True)
|
347 |
|
348 |
if outcome.returncode == 0 or "You already created this space repo" in (outcome.stdout + outcome.stderr):
|
|
|
342 |
|
343 |
|
344 |
cmd = f"autotrain spacerunner --project-name {slugged_lora_name} --script-path {dataset_folder}"
|
345 |
+
cmd += f" --username {profile.username} --token {hf_token} --backend spaces-t4s"
|
346 |
outcome = subprocess.run(cmd.split(), capture_output=True, text=True)
|
347 |
|
348 |
if outcome.returncode == 0 or "You already created this space repo" in (outcome.stdout + outcome.stderr):
|