Spaces:
Running
on
Zero
Running
on
Zero
update upload
Browse files- serve/upload.py +3 -3
serve/upload.py
CHANGED
|
@@ -100,9 +100,9 @@ def upload_ssh_all(states, output_dir, data, data_path):
|
|
| 100 |
output_file_list = []
|
| 101 |
image_list = []
|
| 102 |
for i in range(len(states)):
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
|
| 107 |
|
| 108 |
with concurrent.futures.ThreadPoolExecutor() as executor:
|
|
|
|
| 100 |
output_file_list = []
|
| 101 |
image_list = []
|
| 102 |
for i in range(len(states)):
|
| 103 |
+
output_file = os.path.join(output_dir, f"{i}.jpg")
|
| 104 |
+
output_file_list.append(output_file)
|
| 105 |
+
image_list.append(states[i].output)
|
| 106 |
|
| 107 |
|
| 108 |
with concurrent.futures.ThreadPoolExecutor() as executor:
|