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

Update app.py

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