ww commited on
Commit
69dc33b
·
1 Parent(s): bbe119e
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -23,6 +23,10 @@ def generate_response(
23
  temperature,
24
  top_p,
25
  ):
 
 
 
 
26
  print('=====================')
27
  print(prompt)
28
  print(history)
 
23
  temperature,
24
  top_p,
25
  ):
26
+ if type(lst) == list:
27
+ history = system_message
28
+ print("system_message as history")
29
+ system_message = "i'm a friendly robot"
30
  print('=====================')
31
  print(prompt)
32
  print(history)