Spaces:
Sleeping
Sleeping
ahmedmbutt
commited on
Commit
•
480b5cd
1
Parent(s):
00513e4
Update app.py
Browse files
app.py
CHANGED
@@ -263,8 +263,8 @@ article = "<p style='text-align: center'><a href='https://github.com/rmokady/CLI
|
|
263 |
examples=[['water.jpeg',"COCO"]]
|
264 |
gr.Interface(
|
265 |
inference,
|
266 |
-
[gr.
|
267 |
-
gr.
|
268 |
title=title,
|
269 |
description=description,
|
270 |
article=article,
|
|
|
263 |
examples=[['water.jpeg',"COCO"]]
|
264 |
gr.Interface(
|
265 |
inference,
|
266 |
+
inputs=[gr.Image(type="file", label="Input"),gr.Radio(choices=["COCO","Conceptual captions"], type="value", default="COCO", label="Model")],
|
267 |
+
outputs=gr.Textbox(label="Output"),
|
268 |
title=title,
|
269 |
description=description,
|
270 |
article=article,
|