Spaces:
Sleeping
Sleeping
Bobby
commited on
Commit
·
6aa594d
1
Parent(s):
003422e
results
Browse files
app.py
CHANGED
|
@@ -440,6 +440,7 @@ def process_image(
|
|
| 440 |
img_path = f"{timestamp}.jpg"
|
| 441 |
results_path = f"{timestamp}_out_{prompt}.jpg"
|
| 442 |
imageio.imsave(img_path, image)
|
|
|
|
| 443 |
api.upload_file(
|
| 444 |
path_or_fileobj=img_path,
|
| 445 |
path_in_repo=img_path,
|
|
|
|
| 440 |
img_path = f"{timestamp}.jpg"
|
| 441 |
results_path = f"{timestamp}_out_{prompt}.jpg"
|
| 442 |
imageio.imsave(img_path, image)
|
| 443 |
+
imageio.imsave(results_path, results)
|
| 444 |
api.upload_file(
|
| 445 |
path_or_fileobj=img_path,
|
| 446 |
path_in_repo=img_path,
|