Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ def predict_sentiment(text, image):
|
|
157 |
|
158 |
interface = gr.Interface(
|
159 |
fn=lambda text, image: predict_sentiment(text, image),
|
160 |
-
inputs=[gr.Textbox(),gr.Image()],
|
161 |
outputs=['text'],
|
162 |
title='Multilingual-Multimodal-Sentiment-Analysis',
|
163 |
examples= [],
|
|
|
157 |
|
158 |
interface = gr.Interface(
|
159 |
fn=lambda text, image: predict_sentiment(text, image),
|
160 |
+
inputs=[gr.Textbox(),gr.Image(type="pil")],
|
161 |
outputs=['text'],
|
162 |
title='Multilingual-Multimodal-Sentiment-Analysis',
|
163 |
examples= [],
|