Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Peter
commited on
Commit
•
b2df366
1
Parent(s):
7dcd8f3
:bug: set min beams to 2
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ if __name__ == "__main__":
|
|
155 |
choices=["base", "large"], label="model size", default="base"
|
156 |
),
|
157 |
gr.inputs.Slider(
|
158 |
-
minimum=
|
159 |
),
|
160 |
gr.inputs.Slider(
|
161 |
minimum=512,
|
|
|
155 |
choices=["base", "large"], label="model size", default="base"
|
156 |
),
|
157 |
gr.inputs.Slider(
|
158 |
+
minimum=2, maximum=4, label="num_beams", default=2, step=1
|
159 |
),
|
160 |
gr.inputs.Slider(
|
161 |
minimum=512,
|