Spaces:
Running
Running
prefer median beams option
Browse filesSigned-off-by: peter szemraj <peterszemraj@gmail.com>
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("
|
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,
|