Commit
·
e81aa28
1
Parent(s):
52ee4c6
Update app.py
Browse files
app.py
CHANGED
@@ -191,7 +191,10 @@ def Visual_re_ranker(sentence_man, sentence_woman, context_label, context_prob):
|
|
191 |
demo = gr.Interface(
|
192 |
fn=Visual_re_ranker,
|
193 |
description="Demo for Women Wearing Lipstick: Measuring the Bias Between Object and Its Related Gender",
|
194 |
-
inputs=[gr.Textbox(value="ハイデルベルク大学は彼の出身大学である。") , gr.Textbox(value="ハイデルベルク大学は彼女の出身大学である。"), gr.Textbox(value="大学"), gr.Textbox(value="0.7458009")],
|
|
|
|
|
|
|
195 |
#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")],
|
196 |
#outputs=[gr.Textbox(value="Language Model Score") , gr.Textbox(value="Semantic Similarity Score"), gr.Textbox(value="Belief revision score via visual context")],
|
197 |
outputs="label",
|
|
|
191 |
demo = gr.Interface(
|
192 |
fn=Visual_re_ranker,
|
193 |
description="Demo for Women Wearing Lipstick: Measuring the Bias Between Object and Its Related Gender",
|
194 |
+
# inputs=[gr.Textbox(value="ハイデルベルク大学は彼の出身大学である。") , gr.Textbox(value="ハイデルベルク大学は彼女の出身大学である。"), gr.Textbox(value="大学"), gr.Textbox(value="0.7458009")],
|
195 |
+
inputs=[gr.Textbox(value="これこれ!!なっちょのインスタ開設はこれがあるから尚幸せなのよ!") , gr.Textbox(value="インスタ開設"), gr.Textbox(value="大学"), gr.Textbox(value="0.5239")],
|
196 |
+
|
197 |
+
|
198 |
#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")],
|
199 |
#outputs=[gr.Textbox(value="Language Model Score") , gr.Textbox(value="Semantic Similarity Score"), gr.Textbox(value="Belief revision score via visual context")],
|
200 |
outputs="label",
|