Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from langchain.llms import CTransformers
|
|
3 |
from transformers import AutoTokenizer
|
4 |
|
5 |
# Load the model and tokenizer separately
|
6 |
-
model = CTransformers
|
7 |
tokenizer = AutoTokenizer.from_pretrained("Adityyaa/Mistral-7b_finetuned_mental_health")
|
8 |
|
9 |
# Define the Streamlit app
|
|
|
3 |
from transformers import AutoTokenizer
|
4 |
|
5 |
# Load the model and tokenizer separately
|
6 |
+
model = CTransformers("Adityyaa/Mistral-7b_finetuned_mental_health")
|
7 |
tokenizer = AutoTokenizer.from_pretrained("Adityyaa/Mistral-7b_finetuned_mental_health")
|
8 |
|
9 |
# Define the Streamlit app
|