Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -150,7 +150,7 @@ def predict(audio, _chatbot, _task_history):
|
|
| 150 |
for response in model.chat_stream(tokenizer,
|
| 151 |
_query,
|
| 152 |
history= _task_history,
|
| 153 |
-
system = "
|
| 154 |
_chatbot[-1] = (_parse_text(_query), _parse_text(response))
|
| 155 |
yield _chatbot
|
| 156 |
full_response = _parse_text(response)
|
|
|
|
| 150 |
for response in model.chat_stream(tokenizer,
|
| 151 |
_query,
|
| 152 |
history= _task_history,
|
| 153 |
+
system = "You are an AI assistant. Please be kind and answer responsibly."):
|
| 154 |
_chatbot[-1] = (_parse_text(_query), _parse_text(response))
|
| 155 |
yield _chatbot
|
| 156 |
full_response = _parse_text(response)
|