Spaces:
Running
Running
Commit
·
71daff3
1
Parent(s):
0e59848
Update app.py
Browse files
app.py
CHANGED
|
@@ -294,11 +294,9 @@ def bulk_upload(profile: Optional[gr.OAuthProfile], urls, link_civit=False, prog
|
|
| 294 |
if(url):
|
| 295 |
try:
|
| 296 |
upload_result = upload_civit_to_hf(profile, url, link_civit)
|
|
|
|
| 297 |
except:
|
| 298 |
gr.Info(f"Error uploading the model {link_civit}")
|
| 299 |
-
upload_result = f"{link_civit} skipped"
|
| 300 |
-
|
| 301 |
-
yield upload_result
|
| 302 |
css = '''
|
| 303 |
#login {
|
| 304 |
font-size: 0px;
|
|
|
|
| 294 |
if(url):
|
| 295 |
try:
|
| 296 |
upload_result = upload_civit_to_hf(profile, url, link_civit)
|
| 297 |
+
gr.Info(f"Model {link_civit} uploaded")
|
| 298 |
except:
|
| 299 |
gr.Info(f"Error uploading the model {link_civit}")
|
|
|
|
|
|
|
|
|
|
| 300 |
css = '''
|
| 301 |
#login {
|
| 302 |
font-size: 0px;
|