Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ def predict_sentiment(text, image):
|
|
157 |
|
158 |
prediction = None
|
159 |
with torch.no_grad():
|
160 |
-
prediction = model(
|
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 |
|