Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def has_no_history(chatbot, history):
|
|
| 46 |
|
| 47 |
|
| 48 |
header = "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions."
|
| 49 |
-
prompt_template = "### Human: {query}\n
|
| 50 |
|
| 51 |
def generate(
|
| 52 |
user_message,
|
|
|
|
| 46 |
|
| 47 |
|
| 48 |
header = "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions."
|
| 49 |
+
prompt_template = "### Human: {query}\n### Assistant:{response}"
|
| 50 |
|
| 51 |
def generate(
|
| 52 |
user_message,
|