richardkimsm89 commited on
Commit
2cd4adc
·
verified ·
1 Parent(s): ae3d933

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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 = [{"role": "user", "content": prompt}]
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: