Spaces:
Paused
Paused
Commit
·
858f7c7
1
Parent(s):
213c904
Update app.py
Browse files
app.py
CHANGED
|
@@ -196,7 +196,7 @@ def upload_stage2_3_info(stage1_param_file_hash_name: str,
|
|
| 196 |
if UPLOAD_RESULT_IMAGE:
|
| 197 |
hf_api.upload_file(
|
| 198 |
path_or_fileobj=stage2_3_output_path,
|
| 199 |
-
path_in_repo=f'stage2_3_results/{save_name}.png',
|
| 200 |
repo_id=UPLOAD_REPO_ID,
|
| 201 |
repo_type='dataset')
|
| 202 |
except Exception as e:
|
|
|
|
| 196 |
if UPLOAD_RESULT_IMAGE:
|
| 197 |
hf_api.upload_file(
|
| 198 |
path_or_fileobj=stage2_3_output_path,
|
| 199 |
+
path_in_repo=f'stage2_3_results/{random_folder}/{save_name}.png',
|
| 200 |
repo_id=UPLOAD_REPO_ID,
|
| 201 |
repo_type='dataset')
|
| 202 |
except Exception as e:
|