Clone77 commited on
Commit
43408aa
·
verified ·
1 Parent(s): bbf5229

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def get_image_context(image, question):
49
  return result[0]['answer']
50
 
51
  # 🔥 Corrected LangChain setup
52
- model_id = "mistralai/Mistral-7B-Instruct-v0.3"
53
  tokenizer = AutoTokenizer.from_pretrained(model_id, token=hf,use_fast=False)
54
  model = AutoModelForCausalLM.from_pretrained(model_id, token=hf)
55
 
 
49
  return result[0]['answer']
50
 
51
  # 🔥 Corrected LangChain setup
52
+ model_id = "Qwen/Qwen3-4B"
53
  tokenizer = AutoTokenizer.from_pretrained(model_id, token=hf,use_fast=False)
54
  model = AutoModelForCausalLM.from_pretrained(model_id, token=hf)
55