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