Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ import transformers
|
|
25 |
model_name='mistralai/Mistral-7B-Instruct-v0.1'
|
26 |
from huggingface_hub import login
|
27 |
login(token=st.secrets["HF_TOKEN"])
|
28 |
-
from
|
29 |
|
30 |
# model loading.
|
31 |
model = AutoModelForCausalLM.from_pretrained("TheBloke/Mistral-7B-Instruct-v0.1-GGUF",
|
|
|
25 |
model_name='mistralai/Mistral-7B-Instruct-v0.1'
|
26 |
from huggingface_hub import login
|
27 |
login(token=st.secrets["HF_TOKEN"])
|
28 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
29 |
|
30 |
# model loading.
|
31 |
model = AutoModelForCausalLM.from_pretrained("TheBloke/Mistral-7B-Instruct-v0.1-GGUF",
|