Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -188,7 +188,6 @@ def resume_training(extra_steps, push_to_hub, repo_id, run_dir_text):
|
|
| 188 |
]
|
| 189 |
|
| 190 |
if os.path.exists(cfg_path):
|
| 191 |
-
# IMPORTANT: use --config-file for a local JSON, not --config_path
|
| 192 |
parts.insert(3, f"--config-file='{cfg_path}'")
|
| 193 |
else:
|
| 194 |
# Fallback minimal schema so the CLI can parse types correctly
|
|
|
|
| 188 |
]
|
| 189 |
|
| 190 |
if os.path.exists(cfg_path):
|
|
|
|
| 191 |
parts.insert(3, f"--config-file='{cfg_path}'")
|
| 192 |
else:
|
| 193 |
# Fallback minimal schema so the CLI can parse types correctly
|