Update app.py
Browse files
app.py
CHANGED
|
@@ -265,8 +265,8 @@ def run_inference_and_upload(duration, prompt, neg_prompt_1, neg_prompt_2, neg_p
|
|
| 265 |
if save_consent:
|
| 266 |
print("✅ User consented to save. Preparing uploads...")
|
| 267 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 268 |
-
sd_filename = f"sd35ll_{}.jpg"
|
| 269 |
-
upscale_filename = f"sd35ll_upscale_{}.jpg"
|
| 270 |
|
| 271 |
# Upload using threading
|
| 272 |
sd_thread = threading.Thread(target=upload_to_gcs, args=(sd_hdr_bytes, sd_filename))
|
|
|
|
| 265 |
if save_consent:
|
| 266 |
print("✅ User consented to save. Preparing uploads...")
|
| 267 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 268 |
+
sd_filename = f"sd35ll_{timestamp}.jpg"
|
| 269 |
+
upscale_filename = f"sd35ll_upscale_{timestamp}.jpg"
|
| 270 |
|
| 271 |
# Upload using threading
|
| 272 |
sd_thread = threading.Thread(target=upload_to_gcs, args=(sd_hdr_bytes, sd_filename))
|