Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -51,6 +51,7 @@ def convert_and_push(radio_model_names, input_model, ckpt_name, token):
|
|
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 |
subprocess.run(
|
55 |
[
|
56 |
"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)
|
55 |
subprocess.run(
|
56 |
[
|
57 |
"python3",
|