Adityyaa commited on
Commit
13df59e
1 Parent(s): 3aa9bbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.from_pretrained("Adityyaa/Mistral-7b_finetuned_mental_health")
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