thak123 commited on
Commit
7dd6171
1 Parent(s): 946cc43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def predict_sentiment(text, image):
157
 
158
  prediction = None
159
  with torch.no_grad():
160
- prediction = model(*text_inputs)
161
  print(prediction)
162
  return prediction
163
 
 
157
 
158
  prediction = None
159
  with torch.no_grad():
160
+ prediction = model(**text_inputs)
161
  print(prediction)
162
  return prediction
163