DGSpitzer commited on
Commit
fbb5bbc
1 Parent(s): 3220d0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def get_result(text_prompts, style_indx):
86
  #img_nparray= cv2.cvtColor(img_np, cv2.COLOR_BGR2RGBA)
87
  #img_blue_correction = Image.fromarray(img_nparray)
88
  #img_blue_correction.save(imagefile, img_blue_correction.format)
89
- image_output[0].save(imagefile, image_output[0].format)
90
 
91
  interrogate_prompt = img_to_text(imagefile, fn_index=1)[0]
92
  print(interrogate_prompt)
 
86
  #img_nparray= cv2.cvtColor(img_np, cv2.COLOR_BGR2RGBA)
87
  #img_blue_correction = Image.fromarray(img_nparray)
88
  #img_blue_correction.save(imagefile, img_blue_correction.format)
89
+ image_output.save(imagefile, image_output.format)
90
 
91
  interrogate_prompt = img_to_text(imagefile, fn_index=1)[0]
92
  print(interrogate_prompt)