einfachalf commited on
Commit
7dda11e
1 Parent(s): 4b69801

Update app.py

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