menikev commited on
Commit
22134cc
·
verified ·
1 Parent(s): 9086088

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ SMTP_PORT = 587 # Replace with your SMTP port
18
  # Set up the open-source LLM
19
  @st.cache_resource
20
  def load_model():
21
- model_name = "google/flan-t5-large"
22
  tokenizer = AutoTokenizer.from_pretrained(model_name)
23
  model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
24
  pipe = pipeline(
 
18
  # Set up the open-source LLM
19
  @st.cache_resource
20
  def load_model():
21
+ model_name = "google/flan-t5-small" # Changed from 'large' to 'small'
22
  tokenizer = AutoTokenizer.from_pretrained(model_name)
23
  model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
24
  pipe = pipeline(