multimodalart HF staff commited on
Commit
a864c3f
·
1 Parent(s): a4ad19f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -289,10 +289,7 @@ 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
- try:
293
- yield upload_civit_to_hf(profile, url, link_civit)
294
- except:
295
- yield gr.Info(f"Something wrong happened uploading {link_civit}, skipping that model")
296
  css = '''
297
  #login {
298
  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
+ yield upload_civit_to_hf(profile, url, link_civit)
 
 
 
293
  css = '''
294
  #login {
295
  font-size: 0px;