Spaces:
Build error
Build error
reichenbach
commited on
Commit
β’
91aba77
1
Parent(s):
b525622
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ image_2 = gr.inputs.Image(type="filepath")
|
|
117 |
text_1 = gr.inputs.Textbox(lines=5)
|
118 |
text_2 = gr.inputs.Textbox(lines=5)
|
119 |
|
120 |
-
examples = [['examples/image_1.png', '
|
121 |
|
122 |
label = gr.outputs.Label()
|
123 |
|
@@ -125,7 +125,7 @@ iface = gr.Interface(classify_info,
|
|
125 |
inputs=[image_1, text_1, image_2, text_2], outputs=label,
|
126 |
examples = examples,
|
127 |
title="Multimodal Entailment Keras",
|
128 |
-
description = "Model for classifying whether image and text from one scenario complements the image and text from another scenario. They can be contradictory, implied or no entailment",
|
129 |
article = "Author: <a href=\"https://huggingface.co/reichenbach\">Rishav Chandra Varma</a>")
|
130 |
|
131 |
iface.launch()
|
|
|
117 |
text_1 = gr.inputs.Textbox(lines=5)
|
118 |
text_2 = gr.inputs.Textbox(lines=5)
|
119 |
|
120 |
+
examples = [['examples/image_1.png', '#IndiaFightsCorona:\n\nNearly 4.5 million beneficiaries vaccinated against #COVID19 in 19 days.\n\nIndia is the fastest country to cross landmark of vaccinating 4 million beneficiaries in merely 18 days.\n\n#StaySafe #IndiaWillWin #Unite2FightCorona https://t.co/beGDQfd06S', 'examples/image_2.jpg', '#IndiaFightsCorona:\n\nIndia has become the fastest nation to reach 4 million #COVID19 vaccinations ; it took only 18 days to administer the first 4 million #vaccines\n\n:@MoHFW_INDIA Secretary\n\n#StaySafe #IndiaWillWin #Unite2FightCorona https://t.co/9GENQlqtn3']]
|
121 |
|
122 |
label = gr.outputs.Label()
|
123 |
|
|
|
125 |
inputs=[image_1, text_1, image_2, text_2], outputs=label,
|
126 |
examples = examples,
|
127 |
title="Multimodal Entailment Keras",
|
128 |
+
description = "Model for classifying whether image and text from one scenario complements the image and text from another scenario. They can be contradictory, implied or no entailment. Example images and text from the dataset in raw form !",
|
129 |
article = "Author: <a href=\"https://huggingface.co/reichenbach\">Rishav Chandra Varma</a>")
|
130 |
|
131 |
iface.launch()
|