Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,7 @@ def fn(
|
|
18 |
#messages = [{"role": "system", "content": system_prompt}]
|
19 |
#history.append({"role": "user", "content": prompt})
|
20 |
|
21 |
-
messages =
|
22 |
-
history = []
|
23 |
history.append(messages)
|
24 |
|
25 |
#for val in history:
|
|
|
18 |
#messages = [{"role": "system", "content": system_prompt}]
|
19 |
#history.append({"role": "user", "content": prompt})
|
20 |
|
21 |
+
messages = {"role": "user", "content": prompt}
|
|
|
22 |
history.append(messages)
|
23 |
|
24 |
#for val in history:
|