Spaces:
Running
Running
Update app.py
Browse files
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,
|