AhmedSSabir commited on
Commit
1fa2bd1
·
1 Parent(s): e6dc176

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 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
  )
 
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 stand 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.4095494")],
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
  )