thak123 commited on
Commit
935135a
1 Parent(s): 23c497b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -161,7 +161,7 @@ def predict_sentiment(text, image):
161
 
162
  interface = gr.Interface(
163
  fn=lambda text, image: predict_sentiment(text, image),
164
- inputs=[gr.Textbox(),gr.Image(type="pil")],
165
  outputs=['text'],
166
  title='Multilingual-Multimodal-Sentiment-Analysis',
167
  examples= [],
 
161
 
162
  interface = gr.Interface(
163
  fn=lambda text, image: predict_sentiment(text, image),
164
+ inputs=[gr.Textbox(),gr.Image(type="filepath")],
165
  outputs=['text'],
166
  title='Multilingual-Multimodal-Sentiment-Analysis',
167
  examples= [],