Daemontatox commited on
Commit
5d90a5f
·
verified ·
1 Parent(s): 4bb6c46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,7 +63,7 @@ def stream_chat(
63
  history: list,
64
  system_prompt: str,
65
  temperature: float = 0.8,
66
- max_new_tokens: int = 32000,
67
  top_p: float = 1.0,
68
  top_k: int = 20,
69
  penalty: float = 1.2,
@@ -138,7 +138,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
138
  minimum=128,
139
  maximum=128000,
140
  step=1,
141
- value= 512,
142
  label="Max new tokens",
143
  render=False,
144
  ),
 
63
  history: list,
64
  system_prompt: str,
65
  temperature: float = 0.8,
66
+ max_new_tokens: int = 128000,
67
  top_p: float = 1.0,
68
  top_k: int = 20,
69
  penalty: float = 1.2,
 
138
  minimum=128,
139
  maximum=128000,
140
  step=1,
141
+ value= 128000,
142
  label="Max new tokens",
143
  render=False,
144
  ),