Spaces:
Running
Running
Commit
·
d0dde79
1
Parent(s):
a864c3f
Update app.py
Browse files
app.py
CHANGED
@@ -289,7 +289,10 @@ def upload_civit_to_hf(profile: Optional[gr.OAuthProfile], url, link_civit=False
|
|
289 |
def bulk_upload(profile: Optional[gr.OAuthProfile], urls, link_civit=False, progress=gr.Progress(track_tqdm=True)):
|
290 |
for url in urls.split("\n"):
|
291 |
if(url):
|
292 |
-
|
|
|
|
|
|
|
293 |
css = '''
|
294 |
#login {
|
295 |
font-size: 0px;
|
|
|
289 |
def bulk_upload(profile: Optional[gr.OAuthProfile], urls, link_civit=False, progress=gr.Progress(track_tqdm=True)):
|
290 |
for url in urls.split("\n"):
|
291 |
if(url):
|
292 |
+
try:
|
293 |
+
yield upload_civit_to_hf(profile, url, link_civit)
|
294 |
+
except:
|
295 |
+
gr.Info("Some error happened trying to parse that one")
|
296 |
css = '''
|
297 |
#login {
|
298 |
font-size: 0px;
|