multimodalart HF Staff commited on
Commit
43f0fb8
·
verified ·
1 Parent(s): 4e9fb67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -317,6 +317,7 @@ def upload_civit_to_hf(profile: Optional[gr.OAuthProfile], oauth_token: gr.OAuth
317
  for filename in os.listdir(folder):
318
  file_path = os.path.join(folder, filename)
319
  print(filename)
 
320
  print(oauth_token.token)
321
  upload_file(
322
  path_or_fileobj=file_path,
 
317
  for filename in os.listdir(folder):
318
  file_path = os.path.join(folder, filename)
319
  print(filename)
320
+ print("size: ", os.path.getsize(file_path))
321
  print(oauth_token.token)
322
  upload_file(
323
  path_or_fileobj=file_path,