feat: adjust form values
Browse files
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=
|
65 |
-
gr.Slider(minimum=0.1, maximum=4.0, value=0.
|
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 |
]
|