qgallouedec HF Staff commited on
Commit
c5962aa
·
verified ·
1 Parent(s): 1b6ad17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ with gr.Blocks() as demo:
97
  precision = gr.Radio(["float32", "float16", "bfloat16"], value="float32", label="Precision")
98
  with gr.Accordion("Data"):
99
  batch_size = gr.Slider(1, 128, label="Batch size", step=1, value=8)
100
- seq_len = gr.Slider(1, 1000, label="Sequence Length", step=1, value=256)
101
 
102
  with gr.Accordion("Advanced", open=False):
103
  with gr.Accordion("Hardware"):
 
97
  precision = gr.Radio(["float32", "float16", "bfloat16"], value="float32", label="Precision")
98
  with gr.Accordion("Data"):
99
  batch_size = gr.Slider(1, 128, label="Batch size", step=1, value=8)
100
+ seq_len = gr.Number(512, label="Sequence Length")
101
 
102
  with gr.Accordion("Advanced", open=False):
103
  with gr.Accordion("Hardware"):