Muzammil6376 commited on
Commit
9ca4763
Β·
verified Β·
1 Parent(s): 1e969d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,9 +31,9 @@ os.makedirs(FIGURES_DIR, exist_ok=True)
31
 
32
  # ── Models & Clients ───────────────────────────────────────────────────────────
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="google/gemma-3-27b-pt")
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")
 
31
 
32
  # ── Models & Clients ───────────────────────────────────────────────────────────
33
  # Chat model (Mistral-7B-Instruct)
34
+ chat_client = InferenceClient(model="google/gemma-3-27b-it")
35
  # Text embeddings (BAAI BGE)
36
+ embeddings = HuggingFaceEmbeddings(model_name="google/gemma-3-27b-it")
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")