Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|