Commit
·
0b41e50
1
Parent(s):
7c078dc
Update app.py
Browse files
app.py
CHANGED
@@ -183,7 +183,7 @@ def Visual_re_ranker(caption_man, caption_woman, context_label, context_prob):
|
|
183 |
demo = gr.Interface(
|
184 |
fn=Visual_re_ranker,
|
185 |
description="Demo for Women Wearing Lipstick: Measuring the Bias Between Object and Its Related Gender",
|
186 |
-
inputs=[gr.Textbox(value="a man
|
187 |
|
188 |
#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")],
|
189 |
|
|
|
183 |
demo = gr.Interface(
|
184 |
fn=Visual_re_ranker,
|
185 |
description="Demo for Women Wearing Lipstick: Measuring the Bias Between Object and Its Related Gender",
|
186 |
+
inputs=[gr.Textbox(value="a man riding a motorcycle on a road") , gr.Textbox(value="a woman riding a motorcycle on a road"), gr.Textbox(value="motor scooter"), gr.Textbox(value="0.2183")],
|
187 |
|
188 |
#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")],
|
189 |
|