gifflet commited on
Commit
d248281
1 Parent(s): 63c3032

feat: adjust form values

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -61,8 +61,8 @@ demo = gr.ChatInterface(
61
  respond,
62
  additional_inputs=[
63
  gr.Textbox(value=system_message, label="System message"),
64
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
65
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
66
  gr.Slider(
67
  minimum=0.1,
68
  maximum=1.0,
@@ -72,7 +72,7 @@ demo = gr.ChatInterface(
72
  ),
73
  gr.Dropdown(
74
  label="Model",
75
- choices=["HuggingFaceH4/zephyr-7b-beta", "google/flan-t5-xxl"],
76
  value="HuggingFaceH4/zephyr-7b-beta",
77
  ),
78
  ]
 
61
  respond,
62
  additional_inputs=[
63
  gr.Textbox(value=system_message, label="System message"),
64
+ gr.Slider(minimum=1, maximum=4096, value=4096, step=1, label="Max new tokens"),
65
+ gr.Slider(minimum=0.1, maximum=4.0, value=0.5, step=0.1, label="Temperature"),
66
  gr.Slider(
67
  minimum=0.1,
68
  maximum=1.0,
 
72
  ),
73
  gr.Dropdown(
74
  label="Model",
75
+ choices=["HuggingFaceH4/zephyr-7b-beta", "THUDM/codegeex2-6b", "google/flan-t5-xxl"],
76
  value="HuggingFaceH4/zephyr-7b-beta",
77
  ),
78
  ]