Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
20 |
-
model_name = "
|
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 |
|