1inkusFace commited on
Commit
be81574
·
verified ·
1 Parent(s): 3d9bca6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ def infer(
141
  ).images[0]
142
  timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
143
  rv_path = f"sd35_{timestamp}.png"
144
- sd_image[0].save(rv_path,optimize=False,compress_level=0)
145
  upload_to_ftp(rv_path)
146
  else:
147
  print('-- generating image --')
 
141
  ).images[0]
142
  timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
143
  rv_path = f"sd35_{timestamp}.png"
144
+ sd_image.save(rv_path,optimize=False,compress_level=0)
145
  upload_to_ftp(rv_path)
146
  else:
147
  print('-- generating image --')