ww commited on
Commit
6be832d
·
1 Parent(s): 69dc33b

system_prompt

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -23,10 +23,10 @@ def generate_response(
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)
 
23
  temperature,
24
  top_p,
25
  ):
26
+ if type(system_prompt) == list:
27
+ history = system_prompt
28
+ print("system_prompt as history")
29
+ system_prompt = "i'm a friendly robot"
30
  print('=====================')
31
  print(prompt)
32
  print(history)