Mattral commited on
Commit
a6f2fe0
·
verified ·
1 Parent(s): 791b656

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ st.write("Let me help you start gardening. Let's grow together!")
11
  def load_model():
12
  try:
13
  tokenizer = AutoTokenizer.from_pretrained("KhunPop/Gardening")
14
- model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-2-2b")
15
  return tokenizer, model
16
  except Exception as e:
17
  st.error(f"Failed to load model: {e}")
 
11
  def load_model():
12
  try:
13
  tokenizer = AutoTokenizer.from_pretrained("KhunPop/Gardening")
14
+ model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-2-2b-bnb-4bit")
15
  return tokenizer, model
16
  except Exception as e:
17
  st.error(f"Failed to load model: {e}")