Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -117,12 +117,12 @@ 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', 'examples/text_1.txt'
|
121 |
|
122 |
label = gr.outputs.Label()
|
123 |
|
124 |
iface = gr.Interface(classify_info,
|
125 |
-
inputs=[image_1, text_1], 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",
|
|
|
117 |
text_1 = gr.inputs.Textbox(lines=5)
|
118 |
text_2 = gr.inputs.Textbox(lines=5)
|
119 |
|
120 |
+
examples = [['examples/image_1.png', 'examples/text_1.txt', 'examples/image_2.jpg', 'examples/text_2.txt']]
|
121 |
|
122 |
label = gr.outputs.Label()
|
123 |
|
124 |
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",
|