hynt commited on
Commit
073d114
·
verified ·
1 Parent(s): 76e5621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -306,12 +306,12 @@ with demo:
306
  decoding_method_radio = gr.Radio(
307
  label="Decoding method",
308
  choices=["greedy_search", "modified_beam_search"],
309
- value="greedy_search",
310
  )
311
 
312
  num_active_paths_slider = gr.Slider(
313
  minimum=1,
314
- value=4,
315
  step=1,
316
  label="Number of active paths for modified_beam_search",
317
  )
@@ -319,7 +319,7 @@ with demo:
319
  punct_radio = gr.Radio(
320
  label="Whether to add punctuation (Only for Chinese)",
321
  choices=["Yes", "No"],
322
- value="Yes",
323
  )
324
 
325
  with gr.Tabs():
 
306
  decoding_method_radio = gr.Radio(
307
  label="Decoding method",
308
  choices=["greedy_search", "modified_beam_search"],
309
+ value="modified_beam_search",
310
  )
311
 
312
  num_active_paths_slider = gr.Slider(
313
  minimum=1,
314
+ value=15,
315
  step=1,
316
  label="Number of active paths for modified_beam_search",
317
  )
 
319
  punct_radio = gr.Radio(
320
  label="Whether to add punctuation (Only for Chinese)",
321
  choices=["Yes", "No"],
322
+ value="No",
323
  )
324
 
325
  with gr.Tabs():