AhmedSSabir commited on
Commit
50ee6f7
1 Parent(s): 9618ec7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -152,9 +152,9 @@ 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 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
  )
 
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
  )