Spaces:
Sleeping
Sleeping
update app.py
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ inputs_component = [
|
|
29 |
gr.Textbox(lines=2, placeholder="Enter your text here...", label="Input Text"),
|
30 |
gr.Slider(minimum=1, maximum=10, step=1, label="Num Beams"),
|
31 |
gr.Slider(minimum=50, maximum=300, step=10, label="Max Length"),
|
32 |
-
gr.Slider(minimum=0.
|
33 |
-
gr.Slider(minimum=0.
|
34 |
gr.Slider(minimum=1.0, maximum=5.0, step=0.5, label="Repetition Penalty"),
|
35 |
gr.Slider(minimum=2, maximum=5, step=1, label="No Repeat Ngram Size")
|
36 |
]
|
|
|
29 |
gr.Textbox(lines=2, placeholder="Enter your text here...", label="Input Text"),
|
30 |
gr.Slider(minimum=1, maximum=10, step=1, label="Num Beams"),
|
31 |
gr.Slider(minimum=50, maximum=300, step=10, label="Max Length"),
|
32 |
+
gr.Slider(minimum=0.1, maximum=1.0, step=0.1, label="Top p"),
|
33 |
+
gr.Slider(minimum=0.1, maximum=1.0, step=0.1, label="Temperature"),
|
34 |
gr.Slider(minimum=1.0, maximum=5.0, step=0.5, label="Repetition Penalty"),
|
35 |
gr.Slider(minimum=2, maximum=5, step=1, label="No Repeat Ngram Size")
|
36 |
]
|