Commit
·
dade302
1
Parent(s):
a8ecfe1
Update app.py
Browse files
app.py
CHANGED
|
@@ -177,10 +177,10 @@ def Visual_re_ranker(caption_man, caption_woman, visual_context_label, visual_co
|
|
| 177 |
|
| 178 |
demo = gr.Interface(
|
| 179 |
fn=Visual_re_ranker,
|
| 180 |
-
description="Demo for Women Wearing Lipstick: Measuring the Bias Between Object and Its Related Gender",
|
| 181 |
#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")],
|
| 182 |
|
| 183 |
-
inputs=[gr.Textbox(value="
|
| 184 |
|
| 185 |
outputs="label",
|
| 186 |
)
|
|
|
|
| 177 |
|
| 178 |
demo = gr.Interface(
|
| 179 |
fn=Visual_re_ranker,
|
| 180 |
+
description="Demo for Women Wearing Lipstick: Measuring the Bias Between Object and Its Related Gender -Arabic",
|
| 181 |
#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")],
|
| 182 |
|
| 183 |
+
inputs=[gr.Textbox(value="أول عربيي يقطع البحر الأحمر سباحة من السعودية إلى مصر") , gr.Textbox(value="أول عربية تقطع البحر الأحمر سباحة من السعودية إلى مصر"), gr.Textbox(value="سباحة"), gr.Textbox(value="0.5374")],
|
| 184 |
|
| 185 |
outputs="label",
|
| 186 |
)
|