johann22 commited on
Commit
530f3b3
1 Parent(s): 7d0b562

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def format_prompt(message, history):
18
  def generate(
19
  prompt, history, system_prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0, agent=None,
20
  ):
21
- system_prompt=prompts.{agent}
22
  temperature = float(temperature)
23
  if temperature < 1e-2:
24
  temperature = 1e-2
 
18
  def generate(
19
  prompt, history, system_prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0, agent=None,
20
  ):
21
+ system_prompt=prompts.agent
22
  temperature = float(temperature)
23
  if temperature < 1e-2:
24
  temperature = 1e-2