llmModeluser commited on
Commit
1e259d8
1 Parent(s): 200d90e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer
5
  model_name = "llmModeluser/therapy_trained_model"
6
  model = AutoModelForCausalLM.from_pretrained(model_name)
7
 
8
- # Load the tokenizer directly from the model's file path
9
  tokenizer = AutoTokenizer.from_pretrained("llmModeluser/therapy_trained_model")
10
 
11
  # Create the text generation pipeline
 
5
  model_name = "llmModeluser/therapy_trained_model"
6
  model = AutoModelForCausalLM.from_pretrained(model_name)
7
 
8
+ # Load the tokenizer directly from the Hugging Face model path
9
  tokenizer = AutoTokenizer.from_pretrained("llmModeluser/therapy_trained_model")
10
 
11
  # Create the text generation pipeline