wop commited on
Commit
7116955
·
verified ·
1 Parent(s): c0c5ff7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def generate(
35
  temperature = 1e-2
36
  top_p = float(top_p)
37
 
38
- formatted_prompt = format_prompt(prompt, history)
39
  if formatted_prompt in database:
40
  response = database[formatted_prompt]
41
  else:
 
35
  temperature = 1e-2
36
  top_p = float(top_p)
37
 
38
+ formatted_prompt = format_prompt(prompt, system, history)
39
  if formatted_prompt in database:
40
  response = database[formatted_prompt]
41
  else: