richardkimsm89 commited on
Commit
44b3e69
·
verified ·
1 Parent(s): d7c4ce9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -16,8 +16,11 @@ def fn(
16
  top_p,
17
  ):
18
  #messages = [{"role": "system", "content": system_prompt}]
19
- #messages = [{"role": "user", "content": prompt}]
20
- history.append({"role": "user", "content": prompt})
 
 
 
21
 
22
  #for val in history:
23
  # if val[0]:
 
16
  top_p,
17
  ):
18
  #messages = [{"role": "system", "content": system_prompt}]
19
+
20
+ #history.append({"role": "user", "content": prompt})
21
+
22
+ messages = [{"role": "user", "content": prompt}]
23
+ history.append(messages)
24
 
25
  #for val in history:
26
  # if val[0]: