Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,9 @@ def respond(
|
|
| 15 |
temperature,
|
| 16 |
top_p,
|
| 17 |
):
|
| 18 |
-
messages = [{"role": "system", "content": system_message}
|
|
|
|
|
|
|
| 19 |
|
| 20 |
for val in history:
|
| 21 |
if val[0]:
|
|
|
|
| 15 |
temperature,
|
| 16 |
top_p,
|
| 17 |
):
|
| 18 |
+
messages = [{"role": "system", "content": system_message}
|
| 19 |
+
{"role": "user", "content": "What is the capital of France?"},
|
| 20 |
+
{"role": "assistant", "content": "Paris"}]
|
| 21 |
|
| 22 |
for val in history:
|
| 23 |
if val[0]:
|