Commit
·
2aefc73
1
Parent(s):
68ad585
Update app.py
Browse files
app.py
CHANGED
@@ -156,7 +156,7 @@ demo = gr.Interface(
|
|
156 |
fn=Visual_re_ranker,
|
157 |
description="Demo for Belief Revision based Caption Re-ranker with Visual Semantic Information",
|
158 |
#inputs=[gr.Textbox(value="a city street filled with traffic at night") , gr.Textbox(value="traffic"), gr.Textbox(value="0.7458009")],
|
159 |
-
inputs=[gr.Textbox(value="a baby sitting in front of a giant cake") , gr.Textbox(value="a baby sitting in front of a cake"), gr.Textbox(value="a baby sitting in front of a birthday cake"), gr.Textbox(value="candle
|
160 |
#outputs=[gr.Textbox(value="Language Model Score") , gr.Textbox(value="Semantic Similarity Score"), gr.Textbox(value="Belief revision score via visual context")],
|
161 |
outputs="label",
|
162 |
)
|
|
|
156 |
fn=Visual_re_ranker,
|
157 |
description="Demo for Belief Revision based Caption Re-ranker with Visual Semantic Information",
|
158 |
#inputs=[gr.Textbox(value="a city street filled with traffic at night") , gr.Textbox(value="traffic"), gr.Textbox(value="0.7458009")],
|
159 |
+
inputs=[gr.Textbox(value="a baby sitting in front of a giant cake") , gr.Textbox(value="a baby sitting in front of a cake"), gr.Textbox(value="a baby sitting in front of a birthday cake"), gr.Textbox(value="candle wax light"), gr.Textbox(value="0.958")],
|
160 |
#outputs=[gr.Textbox(value="Language Model Score") , gr.Textbox(value="Semantic Similarity Score"), gr.Textbox(value="Belief revision score via visual context")],
|
161 |
outputs="label",
|
162 |
)
|