Spaces:
Running
Running
Update app.py
#27
by
reach-vb
HF staff
- opened
app.py
CHANGED
@@ -88,7 +88,7 @@ def upload_to_hub(path, upload_repo, hf_path, oauth_token):
|
|
88 |
files = list_files_in_folder(path)
|
89 |
print(files)
|
90 |
for file in files:
|
91 |
-
file_path = os.path.join(
|
92 |
print(f"Uploading file: {file_path}")
|
93 |
api.upload_file(
|
94 |
path_or_fileobj=file_path,
|
|
|
88 |
files = list_files_in_folder(path)
|
89 |
print(files)
|
90 |
for file in files:
|
91 |
+
file_path = os.path.join(path, file)
|
92 |
print(f"Uploading file: {file_path}")
|
93 |
api.upload_file(
|
94 |
path_or_fileobj=file_path,
|