Update app.py
Browse files
app.py
CHANGED
|
@@ -159,7 +159,7 @@ def inference(image, upscale, large_input_flag, color_fix):
|
|
| 159 |
# cv2.imwrite(save_path, output)
|
| 160 |
|
| 161 |
# output = cv2.cvtColor(output, cv2.COLOR_BGR2RGB)
|
| 162 |
-
return Image.fromarray(output)
|
| 163 |
|
| 164 |
|
| 165 |
|
|
|
|
| 159 |
# cv2.imwrite(save_path, output)
|
| 160 |
|
| 161 |
# output = cv2.cvtColor(output, cv2.COLOR_BGR2RGB)
|
| 162 |
+
return image, Image.fromarray(output)
|
| 163 |
|
| 164 |
|
| 165 |
|