Alexander Hux commited on
Commit
e08dcaa
·
verified ·
1 Parent(s): 7fd5795

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
  # Initialize your chatbot model here with LLaMA-2
5
  model_name = "Llama-2-7b" # Adjust this to the specific variant of LLaMA-2 you wish to use
6
- chatbot = pipeline("text-generation", model=model_name, use_auth_token="your_hugging_face_token_here")
7
 
8
  def chat_with_bot(user_input):
9
  # Generating a response from the chatbot model
 
3
 
4
  # Initialize your chatbot model here with LLaMA-2
5
  model_name = "Llama-2-7b" # Adjust this to the specific variant of LLaMA-2 you wish to use
6
+ chatbot = pipeline("text-generation", model=model_name, use_auth_token="ZEN")
7
 
8
  def chat_with_bot(user_input):
9
  # Generating a response from the chatbot model