Fabrice-TIERCELIN commited on
Commit
0ee5b24
1 Parent(s): c4f731c

Image.fromarray(results[0]).save(unique_name)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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