jibsn commited on
Commit
1df5a00
·
verified ·
1 Parent(s): 8c016d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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(