Spaces:
Paused
Paused
Image.fromarray(results[0]).save(unique_name)
Browse files
app.py
CHANGED
|
@@ -379,7 +379,7 @@ def restore(
|
|
| 379 |
" pixels high, so a resolution of " + f'{result_width * result_height:,}' + " pixels."
|
| 380 |
print(information)
|
| 381 |
unique_name = str(uuid.uuid4()) + ".png"
|
| 382 |
-
results[0].save(unique_name)
|
| 383 |
print(unique_name)
|
| 384 |
|
| 385 |
# Only one image can be shown in the slider
|
|
|
|
| 379 |
" pixels high, so a resolution of " + f'{result_width * result_height:,}' + " pixels."
|
| 380 |
print(information)
|
| 381 |
unique_name = str(uuid.uuid4()) + ".png"
|
| 382 |
+
Image.fromarray(results[0]).save(unique_name)
|
| 383 |
print(unique_name)
|
| 384 |
|
| 385 |
# Only one image can be shown in the slider
|