Spaces:
Sleeping
Sleeping
shaktibiplab
commited on
Commit
•
e6095e9
1
Parent(s):
883e2d8
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
|
|
8 |
tokenizer.clean_up_tokenization_spaces = False # Explicitly set the parameter if needed
|
9 |
|
10 |
# Load CLIP model for zero-shot classification
|
11 |
-
clip_checkpoint = "
|
12 |
clip_detector = pipeline(model=clip_checkpoint, task="zero-shot-image-classification")
|
13 |
|
14 |
# Postprocess the output from CLIP
|
|
|
8 |
tokenizer.clean_up_tokenization_spaces = False # Explicitly set the parameter if needed
|
9 |
|
10 |
# Load CLIP model for zero-shot classification
|
11 |
+
clip_checkpoint = "openai/clip-vit-base-patch16"
|
12 |
clip_detector = pipeline(model=clip_checkpoint, task="zero-shot-image-classification")
|
13 |
|
14 |
# Postprocess the output from CLIP
|