ashwml commited on
Commit
1180a02
·
1 Parent(s): 5b02acc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -117,11 +117,11 @@ def predict_event(image):
117
  title = "capstone"
118
  description = "final capstone"
119
 
120
- out_response = gr.outputs.Textbox(label="Caption generated by ViT+GPT-2")
121
 
122
  iface = gr.Interface(fn=predict_event,
123
  inputs=gr.inputs.Image(type="pil"),
124
- outputs = [out_response],
125
  enable_queue=True)
126
 
127
 
 
117
  title = "capstone"
118
  description = "final capstone"
119
 
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