Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ os.makedirs(FIGURES_DIR, exist_ok=True)
|
|
33 |
# Chat model (Mistral-7B-Instruct)
|
34 |
chat_client = InferenceClient(model="google/gemma-3-27b-pt")
|
35 |
# Text embeddings (BAAI BGE)
|
36 |
-
embeddings = HuggingFaceEmbeddings(model_name="
|
37 |
# Image captioning (BLIP)
|
38 |
blip_processor = BlipProcessor.from_pretrained("Salesforce/blip-image-captioning-base")
|
39 |
blip_model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-base")
|
|
|
33 |
# Chat model (Mistral-7B-Instruct)
|
34 |
chat_client = InferenceClient(model="google/gemma-3-27b-pt")
|
35 |
# Text embeddings (BAAI BGE)
|
36 |
+
embeddings = HuggingFaceEmbeddings(model_name="jinaai/jina-clip-v1")
|
37 |
# Image captioning (BLIP)
|
38 |
blip_processor = BlipProcessor.from_pretrained("Salesforce/blip-image-captioning-base")
|
39 |
blip_model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-base")
|