Bobby commited on
Commit
6aa594d
·
1 Parent(s): 003422e
Files changed (1) hide show
  1. app.py +1 -0
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,