Spaces:
Running
Running
fix
Browse files
app.py
CHANGED
@@ -167,7 +167,7 @@ def export(model_id: str, private_repo: bool, overwritte: bool, oauth_token: gr.
|
|
167 |
path_in_repo="README.md",
|
168 |
repo_id=new_repo_id,
|
169 |
)
|
170 |
-
return f"This model was successfully exported, find it under your repo {new_repo_url}
|
171 |
finally:
|
172 |
shutil.rmtree(folder, ignore_errors=True)
|
173 |
except Exception as e:
|
|
|
167 |
path_in_repo="README.md",
|
168 |
repo_id=new_repo_id,
|
169 |
)
|
170 |
+
return f"This model was successfully exported, find it under your repo {new_repo_url}"
|
171 |
finally:
|
172 |
shutil.rmtree(folder, ignore_errors=True)
|
173 |
except Exception as e:
|