thak123 commited on
Commit
05e22ed
1 Parent(s): 5bc82d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -118,6 +118,9 @@ load_model(model, sf_filename)
118
  # )
119
 
120
 
 
 
 
121
  def predict_sentiment(text, image):
122
  print(text, image)
123
  text_inputs = tokenizer(
 
118
  # )
119
 
120
 
121
+
122
+ image_processor = AutoImageProcessor.from_pretrained("openai/clip-vit-base-patch32")
123
+
124
  def predict_sentiment(text, image):
125
  print(text, image)
126
  text_inputs = tokenizer(