AhmedSSabir
commited on
Commit
•
877091a
1
Parent(s):
e4bec56
Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,8 @@ demo = gr.Interface(
|
|
157 |
#description="Demo for Belief Revision based Caption Re-ranker with Visual Semantic Information",
|
158 |
description="Demo for Caption Re-ranker with Visual Semantic Information",
|
159 |
#inputs=[gr.Textbox(value="a city street filled with traffic at night") , gr.Textbox(value="traffic"), gr.Textbox(value="0.7458009")],
|
160 |
-
|
|
|
161 |
#outputs=[gr.Textbox(value="Language Model Score") , gr.Textbox(value="Semantic Similarity Score"), gr.Textbox(value="Belief revision score via visual context")],
|
162 |
outputs="label",
|
163 |
)
|
|
|
157 |
#description="Demo for Belief Revision based Caption Re-ranker with Visual Semantic Information",
|
158 |
description="Demo for Caption Re-ranker with Visual Semantic Information",
|
159 |
#inputs=[gr.Textbox(value="a city street filled with traffic at night") , gr.Textbox(value="traffic"), gr.Textbox(value="0.7458009")],
|
160 |
+
# a baby is eating in front of a birthday cake /a baby sitting in front of a giant cake
|
161 |
+
inputs=[gr.Textbox(value="baby is eating in front of a birthday 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")],
|
162 |
#outputs=[gr.Textbox(value="Language Model Score") , gr.Textbox(value="Semantic Similarity Score"), gr.Textbox(value="Belief revision score via visual context")],
|
163 |
outputs="label",
|
164 |
)
|