thak123 commited on
Commit
4d4f267
1 Parent(s): e999bb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,7 +131,7 @@ def predict_sentiment(text, image):
131
 
132
  interface = gr.Interface(
133
  fn=lambda text, image: predict_sentiment(text, image),
134
- inputs=[gr.inputs.Textbox(),gr.inputs.Image(shape=(224, 224))],
135
  outputs=['text'],
136
  title='Multilingual-Multimodal-Sentiment-Analysis',
137
  examples= ["I love tea","I hate coffee"],
 
131
 
132
  interface = gr.Interface(
133
  fn=lambda text, image: predict_sentiment(text, image),
134
+ inputs=[gr.Textbox(),gr.Image()],
135
  outputs=['text'],
136
  title='Multilingual-Multimodal-Sentiment-Analysis',
137
  examples= ["I love tea","I hate coffee"],