thak123 commited on
Commit
c339f61
·
verified ·
1 Parent(s): aca208a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -126,8 +126,7 @@ image_processor = AutoImageProcessor.from_pretrained("openai/clip-vit-base-patch
126
 
127
  def predict_sentiment(text, image):
128
  print(text, image)
129
- image = torch.from_numpy(image)
130
- print(image.shape)
131
 
132
  text_inputs = tokenizer(
133
  text,
 
126
 
127
  def predict_sentiment(text, image):
128
  print(text, image)
129
+
 
130
 
131
  text_inputs = tokenizer(
132
  text,