Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
|
|
| 7 |
tokenizer.clean_up_tokenization_spaces = False # Explicitly set the parameter if needed
|
| 8 |
|
| 9 |
# Load CLIP model for zero-shot classification
|
| 10 |
-
clip_checkpoint = "
|
| 11 |
clip_detector = pipeline(model=clip_checkpoint, task="zero-shot-image-classification")
|
| 12 |
|
| 13 |
# Postprocess the output from CLIP
|
|
|
|
| 7 |
tokenizer.clean_up_tokenization_spaces = False # Explicitly set the parameter if needed
|
| 8 |
|
| 9 |
# Load CLIP model for zero-shot classification
|
| 10 |
+
clip_checkpoint = "shaktibiplab/CLIPMODEL"
|
| 11 |
clip_detector = pipeline(model=clip_checkpoint, task="zero-shot-image-classification")
|
| 12 |
|
| 13 |
# Postprocess the output from CLIP
|