thak123 commited on
Commit
23c497b
·
verified ·
1 Parent(s): c22438d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -129,6 +129,7 @@ image_processor = AutoImageProcessor.from_pretrained("openai/clip-vit-base-patch
129
 
130
  def predict_sentiment(text, image):
131
  print(text, image)
 
132
  image = torchvision.io.read_image(image)
133
  # image = transforms.ToTensor()(image).unsqueeze(0)
134
 
 
129
 
130
  def predict_sentiment(text, image):
131
  print(text, image)
132
+ print(dir(image))
133
  image = torchvision.io.read_image(image)
134
  # image = transforms.ToTensor()(image).unsqueeze(0)
135