ashwml commited on
Commit
3a1a4bb
·
1 Parent(s): 1180a02

Update app.py

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