Hfzune commited on
Commit
d7c3f91
·
verified ·
1 Parent(s): ab0d85a

Update admin/panel.py

Browse files
Files changed (1) hide show
  1. admin/panel.py +1 -1
admin/panel.py CHANGED
@@ -243,7 +243,7 @@ def build_admin_tabs(admin_password: str = None):
243
  value=int(dbm.get_setting("conversation_window", "6")),
244
  precision=0)
245
  max_new = gr.Number(label="max_new_tokens",
246
- value=int(dbm.get_setting("max_new_tokens", "512")),
247
  precision=0)
248
  temp = gr.Number(label="temperature",
249
  value=float(dbm.get_setting("temperature", "0.7")))
 
243
  value=int(dbm.get_setting("conversation_window", "6")),
244
  precision=0)
245
  max_new = gr.Number(label="max_new_tokens",
246
+ value=int(dbm.get_setting("max_new_tokens", "1024")),
247
  precision=0)
248
  temp = gr.Number(label="temperature",
249
  value=float(dbm.get_setting("temperature", "0.7")))