Spaces:
Running
Running
Specified minimum, default and step of input `parameters`
Browse files
app.py
CHANGED
@@ -245,7 +245,12 @@ with gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main:
|
|
245 |
label="Model type",
|
246 |
choices=("chat", "pretrained", "ensamble"),
|
247 |
)
|
248 |
-
submission_inputs["parameters"] = gr.Number(
|
|
|
|
|
|
|
|
|
|
|
249 |
|
250 |
with gr.Row():
|
251 |
submission_inputs["precision"] = gr.Dropdown(
|
|
|
245 |
label="Model type",
|
246 |
choices=("chat", "pretrained", "ensamble"),
|
247 |
)
|
248 |
+
submission_inputs["parameters"] = gr.Number(
|
249 |
+
label='Parameters (B)',
|
250 |
+
default=0.1,
|
251 |
+
minimum=0,
|
252 |
+
step=0.1,
|
253 |
+
)
|
254 |
|
255 |
with gr.Row():
|
256 |
submission_inputs["precision"] = gr.Dropdown(
|