Spaces:
Sleeping
Sleeping
Commit
·
7c078dc
1
Parent(s):
516a0d9
Update app.py
Browse files
app.py
CHANGED
@@ -183,9 +183,9 @@ 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 |
-
|
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 |
|
190 |
outputs="label",
|
191 |
)
|
|
|
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 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")],
|
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 |
|
190 |
outputs="label",
|
191 |
)
|