Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -398,7 +398,8 @@ def bulk_upload(profile: Optional[gr.OAuthProfile], urls, link_civit=False, prog
|
|
| 398 |
try:
|
| 399 |
upload_result = upload_civit_to_hf(url, link_civit)
|
| 400 |
gr.Warning(f"Model {link_civit} uploaded")
|
| 401 |
-
except:
|
|
|
|
| 402 |
gr.Warning(f"Error uploading the model {link_civit}")
|
| 403 |
css = '''
|
| 404 |
#login {
|
|
|
|
| 398 |
try:
|
| 399 |
upload_result = upload_civit_to_hf(url, link_civit)
|
| 400 |
gr.Warning(f"Model {link_civit} uploaded")
|
| 401 |
+
except Exception as e:
|
| 402 |
+
print(e)
|
| 403 |
gr.Warning(f"Error uploading the model {link_civit}")
|
| 404 |
css = '''
|
| 405 |
#login {
|