Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -117,11 +117,11 @@ def predict_event(image):
|
|
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 =
|
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 |
|