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

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 = 2048,
67
  top_p: float = 1.0,
68
  top_k: int = 20,
69
  penalty: float = 1.2,
@@ -136,7 +136,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
136
  ),
137
  gr.Slider(
138
  minimum=128,
139
- maximum=8192,
140
  step=1,
141
  value= 512,
142
  label="Max new tokens",
 
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,
 
136
  ),
137
  gr.Slider(
138
  minimum=128,
139
+ maximum=128000,
140
  step=1,
141
  value= 512,
142
  label="Max new tokens",