Spaces:
Running
Running
Commit
·
0e59848
1
Parent(s):
85e76ee
Update app.py
Browse files
app.py
CHANGED
@@ -292,10 +292,13 @@ def bulk_upload(profile: Optional[gr.OAuthProfile], urls, link_civit=False, prog
|
|
292 |
for url in urls:
|
293 |
print(url)
|
294 |
if(url):
|
295 |
-
try:
|
296 |
-
|
297 |
-
except:
|
298 |
-
gr.Info("
|
|
|
|
|
|
|
299 |
css = '''
|
300 |
#login {
|
301 |
font-size: 0px;
|
|
|
292 |
for url in urls:
|
293 |
print(url)
|
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;
|