TalentPulse-AI commited on
Commit
e6e5ca0
·
verified ·
1 Parent(s): 56fb14a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
13
  login(token=huggingface_token) # Authenticate with Hugging Face
14
 
15
  # Hugging Face model setup
16
- pipe = pipeline("text-generation", model="mistralai/Mistral-7B-v0.1") Copy # Load model directly
17
  model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
18
  tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-v0.1")
19
 
 
13
  login(token=huggingface_token) # Authenticate with Hugging Face
14
 
15
  # Hugging Face model setup
16
+ pipe = pipeline("text-generation", model="mistralai/Mistral-7B-v0.1") # Load model directly
17
  model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
18
  tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-v0.1")
19