ashwml commited on
Commit
f70fd1c
·
1 Parent(s): dd83231

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -120,10 +120,9 @@ description = "final capstone"
120
 
121
  # inputs=gr.inputs.Image(type="pil")
122
 
123
- iface = gr.Interface(fn=predict_event,
124
- gr.Image(type="pil"),"image",
125
- outputs = gr.outputs.Textbox()
126
- )
127
 
128
 
129
 
 
120
 
121
  # inputs=gr.inputs.Image(type="pil")
122
 
123
+ iface = gr.Interface(predict_event,
124
+ gr.Image(type="pil"),
125
+ outputs=["text"] )
 
126
 
127
 
128