Spaces:
Runtime error
Runtime error
Alexander Hux
commited on
Update app.py
Browse files
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="
|
| 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
|