Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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)
|