Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,5 +4,5 @@ messages = [
|
|
4 |
{"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
|
5 |
{"role": "user", "content": "Who are you?"},
|
6 |
]
|
7 |
-
chatbot = pipeline("text-generation", model="mistralai/Mistral-Nemo-Instruct-2407",max_new_tokens=128)
|
8 |
chatbot(messages)
|
|
|
4 |
{"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
|
5 |
{"role": "user", "content": "Who are you?"},
|
6 |
]
|
7 |
+
chatbot = pipeline("text-generation", model="mistralai/Mistral-Nemo-Instruct-2407",token=False,max_new_tokens=128)
|
8 |
chatbot(messages)
|