pszemraj commited on
Commit
86215a1
1 Parent(s): 7c0cbdc

prefer median beams option

Browse files

Signed-off-by: peter szemraj <[email protected]>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -516,13 +516,13 @@ if __name__ == "__main__":
516
  )
517
  num_beams = gr.Radio(
518
  choices=BEAM_OPTIONS,
 
519
  label="Beam Search: # of Beams",
520
- value=BEAM_OPTIONS[0],
521
  )
522
  load_examples_button = gr.Button(
523
  "Load Example in Dropdown",
524
  )
525
- load_file_button = gr.Button("Load & Process File")
526
  with gr.Column(variant="compact"):
527
  example_name = gr.Dropdown(
528
  _examples,
 
516
  )
517
  num_beams = gr.Radio(
518
  choices=BEAM_OPTIONS,
519
+ value=BEAM_OPTIONS[len(BEAM_OPTIONS) // 2],
520
  label="Beam Search: # of Beams",
 
521
  )
522
  load_examples_button = gr.Button(
523
  "Load Example in Dropdown",
524
  )
525
+ load_file_button = gr.Button("Upload & Process File")
526
  with gr.Column(variant="compact"):
527
  example_name = gr.Dropdown(
528
  _examples,