riotu-lab commited on
Commit
08e5370
1 Parent(s): 950ec67

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.0, maximum=1.0, step=0.1, label="Top p"),
33
- gr.Slider(minimum=0.0, 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
  ]
 
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
  ]