Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -152,6 +152,8 @@ def predict_sentiment(text, image):
|
|
152 |
"pixel_values":image,
|
153 |
"attention_mask" : text_inputs.attention_mask,
|
154 |
}
|
|
|
|
|
155 |
print(model_input)
|
156 |
prediction = None
|
157 |
with torch.no_grad():
|
|
|
152 |
"pixel_values":image,
|
153 |
"attention_mask" : text_inputs.attention_mask,
|
154 |
}
|
155 |
+
print(text_inputs)
|
156 |
+
print()
|
157 |
print(model_input)
|
158 |
prediction = None
|
159 |
with torch.no_grad():
|