multimodalart HF staff commited on
Commit
85e76ee
1 Parent(s): d0dde79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -287,7 +287,10 @@ def upload_civit_to_hf(profile: Optional[gr.OAuthProfile], url, link_civit=False
287
  ## Access it here [{user_repo_id}](https://huggingface.co/{user_repo_id}) '''
288
 
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)
 
287
  ## Access it here [{user_repo_id}](https://huggingface.co/{user_repo_id}) '''
288
 
289
  def bulk_upload(profile: Optional[gr.OAuthProfile], urls, link_civit=False, progress=gr.Progress(track_tqdm=True)):
290
+ urls = urls.split("\n")
291
+ print(urls)
292
+ for url in urls:
293
+ print(url)
294
  if(url):
295
  try:
296
  yield upload_civit_to_hf(profile, url, link_civit)