AhmedSSabir commited on
Commit
9618ec7
·
1 Parent(s): acbafe4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -152,8 +152,10 @@ def Visual_re_ranker(caption_man, caption_woman, visual_context_label, visual_co
152
  demo = gr.Interface(
153
  fn=Visual_re_ranker,
154
  description="Demo for Women Wearing Lipstick: Measuring the Bias Between Object and Its Related Gender",
155
- inputs=[gr.Textbox(value="a man sitting on a surfboard in the ocean") , gr.Textbox(value="a man sitting on a surfboard in the ocean"), gr.Textbox(value="paddle"), gr.Textbox(value="0.5283")],
156
- #outputs=[gr.Textbox(value="Language Model Score") , gr.Textbox(value="Semantic Similarity Score"), gr.Textbox(value="Belief revision score via visual context")],
 
 
157
  outputs="label",
158
  )
159
  demo.launch()
 
152
  demo = gr.Interface(
153
  fn=Visual_re_ranker,
154
  description="Demo for Women Wearing Lipstick: Measuring the Bias Between Object and Its Related Gender",
155
+ inputs=[gr.Textbox(value="a man sitting on a surfboard in the ocean") , gr.Textbox(value="a woman sitting on a surfboard in the ocean"), gr.Textbox(value="paddle"), gr.Textbox(value="0.5283")],
156
+
157
+ #inputs=[gr.Textbox(value="a man is blow drying his hair in the bathroom") , gr.Textbox(value="a woman is blow drying her hair in the bathroom"), gr.Textbox(value="hair spray"), gr.Textbox(value="0.7385")],
158
+
159
  outputs="label",
160
  )
161
  demo.launch()