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