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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -118,11 +118,12 @@ title = "capstone"
118
  description = "final capstone"
119
 
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
 
 
118
  description = "final capstone"
119
 
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