AhmedSSabir
commited on
Commit
·
e6dc176
1
Parent(s):
1e4c550
Update app.py
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ demo = gr.Interface(
|
|
155 |
fn=Visual_re_ranker,
|
156 |
description="Demo for Belief Revision based Caption Re-ranker with Visual Semantic Information",
|
157 |
#inputs=[gr.Textbox(value="a city street filled with traffic at night") , gr.Textbox(value="traffic"), gr.Textbox(value="0.7458009")],
|
158 |
-
inputs=[gr.Textbox(value="a
|
159 |
#outputs=[gr.Textbox(value="Language Model Score") , gr.Textbox(value="Semantic Similarity Score"), gr.Textbox(value="Belief revision score via visual context")],
|
160 |
outputs="label",
|
161 |
)
|
|
|
155 |
fn=Visual_re_ranker,
|
156 |
description="Demo for Belief Revision based Caption Re-ranker with Visual Semantic Information",
|
157 |
#inputs=[gr.Textbox(value="a city street filled with traffic at night") , gr.Textbox(value="traffic"), gr.Textbox(value="0.7458009")],
|
158 |
+
inputs=[gr.Textbox(value="a fruit market with apple and orange") , gr.Textbox(value="a fruit market with apple and orange"), gr.Textbox(value="a display of apples and oranges at a market"), gr.Textbox(value="orange lemon apple"), gr.Textbox(value="0.49095494")],
|
159 |
#outputs=[gr.Textbox(value="Language Model Score") , gr.Textbox(value="Semantic Similarity Score"), gr.Textbox(value="Belief revision score via visual context")],
|
160 |
outputs="label",
|
161 |
)
|