Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from PIL import Image
|
|
| 4 |
from transformers import pipeline
|
| 5 |
|
| 6 |
# Create the pipeline object
|
| 7 |
-
pipe = pipeline("zero-shot-image-classification", model="
|
| 8 |
|
| 9 |
# Define the function that will be used by the interface
|
| 10 |
def zero_shot_classification(image, labels_text):
|
|
|
|
| 4 |
from transformers import pipeline
|
| 5 |
|
| 6 |
# Create the pipeline object
|
| 7 |
+
pipe = pipeline("zero-shot-image-classification", model="GeorgeBredis/metaclip-h14-fullcc2.5b")
|
| 8 |
|
| 9 |
# Define the function that will be used by the interface
|
| 10 |
def zero_shot_classification(image, labels_text):
|