Mattral commited on
Commit
c10af4b
·
verified ·
1 Parent(s): 01b6761

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,8 +15,8 @@ st.write("Let me help you start gardening. Let's grow together!")
15
  # Function to load model
16
  def load_model():
17
  try:
18
- tokenizer = AutoTokenizer.from_pretrained("KhunPop/Gardening", use_auth_token=api_key)
19
- model = AutoModelForCausalLM.from_pretrained("KhunPop/Gardening", use_auth_token=api_key)
20
  return tokenizer, model
21
  except Exception as e:
22
  st.error(f"Failed to load model: {e}")
 
15
  # Function to load model
16
  def load_model():
17
  try:
18
+ tokenizer = AutoTokenizer.from_pretrained("unsloth/gemma-2-2b")
19
+ model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-2-2b")
20
  return tokenizer, model
21
  except Exception as e:
22
  st.error(f"Failed to load model: {e}")