pvyas96 commited on
Commit
67df521
·
verified ·
1 Parent(s): 1870468

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ max_length = st.sidebar.slider("Max Length", 10, 100, 50)
16
  temperature = st.sidebar.slider("Temperature", 0.0, 1.0, 0.7)
17
 
18
  # Load the model and tokenizer with a loading message
19
- with st.spinner('Wait for it... the model is loading'):
20
- model_name = "facebook/blenderbot-400M-distill"
21
  model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
22
  tokenizer = AutoTokenizer.from_pretrained(model_name)
23
 
 
16
  temperature = st.sidebar.slider("Temperature", 0.0, 1.0, 0.7)
17
 
18
  # Load the model and tokenizer with a loading message
19
+ with st.spinner('Wait for model to respond..'):
20
+ model_name = "mistralai/Mistral-7B-Instruct-v0.2"
21
  model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
22
  tokenizer = AutoTokenizer.from_pretrained(model_name)
23