Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def convert_and_push(radio_model_names, input_model, ckpt_name, token, path_in_r
|
|
| 51 |
ckpt_path, revision = hf_utils.download_file(repo_id=model_id, filename=ckpt_name, token=token)
|
| 52 |
|
| 53 |
# 2. Run the conversion script
|
| 54 |
-
os.makedirs(model_id)
|
| 55 |
subprocess.run(
|
| 56 |
[
|
| 57 |
"python3",
|
|
|
|
| 51 |
ckpt_path, revision = hf_utils.download_file(repo_id=model_id, filename=ckpt_name, token=token)
|
| 52 |
|
| 53 |
# 2. Run the conversion script
|
| 54 |
+
os.makedirs(model_id, exist_ok=True)
|
| 55 |
subprocess.run(
|
| 56 |
[
|
| 57 |
"python3",
|