Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
125 |
-
|
|
|
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 |
|