Danh Tran commited on
Commit
3e3b395
·
verified ·
1 Parent(s): 15357fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,5 +5,5 @@ def greet(input_img):
5
  out_img = predict_model.run(input_img)
6
  return out_img
7
 
8
- demo = gr.Interface(greet, gr.Image(), "text")
9
  demo.launch()
 
5
  out_img = predict_model.run(input_img)
6
  return out_img
7
 
8
+ demo = gr.Interface(greet, inputs=[gr.Image()], outputs=["image"])
9
  demo.launch()