AhmedSSabir commited on
Commit
e4bec56
·
1 Parent(s): 2aefc73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -154,7 +154,8 @@ def Visual_re_ranker(caption_G, caption_B, caption_VR, visual_context_label, vis
154
 
155
  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 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")],
 
154
 
155
  demo = gr.Interface(
156
  fn=Visual_re_ranker,
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
  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")],
161
  #outputs=[gr.Textbox(value="Language Model Score") , gr.Textbox(value="Semantic Similarity Score"), gr.Textbox(value="Belief revision score via visual context")],