Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,8 @@ def process_file(file):
|
|
| 39 |
result_pil = Image.fromarray(result_img)
|
| 40 |
|
| 41 |
# return pred_path
|
| 42 |
-
return result_pil
|
|
|
|
| 43 |
|
| 44 |
# Gradio UI
|
| 45 |
demo = gr.Interface(
|
|
|
|
| 39 |
result_pil = Image.fromarray(result_img)
|
| 40 |
|
| 41 |
# return pred_path
|
| 42 |
+
# return result_pil,
|
| 43 |
+
return result_img
|
| 44 |
|
| 45 |
# Gradio UI
|
| 46 |
demo = gr.Interface(
|