Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -61,9 +61,9 @@ def merge_and_upload(base_model, model_to_merge, scaling_factor, weight_drop_pro
|
|
61 |
api.create_repo(repo_id=repo_name, token=token, exist_ok=True)
|
62 |
|
63 |
# Upload the file
|
64 |
-
api.
|
65 |
-
|
66 |
-
|
67 |
repo_id=repo_name,
|
68 |
token=token
|
69 |
)
|
|
|
61 |
api.create_repo(repo_id=repo_name, token=token, exist_ok=True)
|
62 |
|
63 |
# Upload the file
|
64 |
+
api.upload_folder(
|
65 |
+
folder_path=outpath,
|
66 |
+
repo_type=model,
|
67 |
repo_id=repo_name,
|
68 |
token=token
|
69 |
)
|