ww commited on
Commit
3c2d8de
·
1 Parent(s): 52a0c67
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def format_prompt(message, history):
18
  def generate_response(
19
  prompt,
20
  history: list[tuple[str, str]],
21
- system_prompt,
22
  max_tokens,
23
  temperature,
24
  top_p,
@@ -29,6 +29,7 @@ def generate_response(
29
  print("system_prompt as history")
30
  else:
31
  print(type(system_prompt))
 
32
  print('=====================')
33
 
34
  system_prompt = "i'm a friendly robot"
 
18
  def generate_response(
19
  prompt,
20
  history: list[tuple[str, str]],
21
+ system_prompt: list[tuple[str,str]],
22
  max_tokens,
23
  temperature,
24
  top_p,
 
29
  print("system_prompt as history")
30
  else:
31
  print(type(system_prompt))
32
+ print(system_prompt)
33
  print('=====================')
34
 
35
  system_prompt = "i'm a friendly robot"