Browse Source

Delete test.py

pull/84/head
Ben Cherry 1 year ago committed by GitHub
parent
commit
21392325e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      test.py

7
test.py

@ -1,7 +0,0 @@
import sys
from PIL import Image
from clip_interrogator import Config, Interrogator
# import torch
image = Image.open('../pushd-gpt/output/resized.jpg').convert('RGB')
ci = Interrogator(Config(clip_model_name="ViT-H-14/laion2b_s32b_b79k", device='mps'))
print(ci.interrogate(image))
Loading…
Cancel
Save