Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
•
38707b6
1
Parent(s):
1609923
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def run(token: str, model_id: str) -> str:
|
|
31 |
is_private = api.model_info(repo_id=model_id).private
|
32 |
print("is_private", is_private)
|
33 |
|
34 |
-
commit_info = convert(api=api, model_id=model_id)
|
35 |
print("[commit_info]", commit_info)
|
36 |
|
37 |
# save in a (public) dataset:
|
|
|
31 |
is_private = api.model_info(repo_id=model_id).private
|
32 |
print("is_private", is_private)
|
33 |
|
34 |
+
commit_info = convert(api=api, model_id=model_id, force=True)
|
35 |
print("[commit_info]", commit_info)
|
36 |
|
37 |
# save in a (public) dataset:
|