LAP-DEV commited on
Commit
6132a73
·
verified ·
1 Parent(s): 8606704

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -102,8 +102,11 @@ class App:
102
  cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp"], label="Add timestamp to output file",interactive=True, visible=True)
103
  dd_file_format = gr.Dropdown(choices=["TXT","SRT"], value="TXT", label="Output format", visible=False, info="Output preview format")
104
 
 
 
 
 
105
  with gr.Accordion("Diarization options", open=False, visible=True):
106
- cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Speaker diarization (HuggingFace token required)",interactive=True)
107
  tb_hf_token = gr.Text(label="HuggingFace Token", value=diarization_params["hf_token"],
108
  info="This is only needed the first time you download the model. If you already have"
109
  " models, you don't need to enter. To download the model, you must manually go "
 
102
  cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp"], label="Add timestamp to output file",interactive=True, visible=True)
103
  dd_file_format = gr.Dropdown(choices=["TXT","SRT"], value="TXT", label="Output format", visible=False, info="Output preview format")
104
 
105
+ with gr.Accordion("test", open=False, visible=True):
106
+ with gr.Accordion("test2", open=False, visible=True):
107
+ cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Speaker diarization (HuggingFace token required)",interactive=True)
108
+
109
  with gr.Accordion("Diarization options", open=False, visible=True):
 
110
  tb_hf_token = gr.Text(label="HuggingFace Token", value=diarization_params["hf_token"],
111
  info="This is only needed the first time you download the model. If you already have"
112
  " models, you don't need to enter. To download the model, you must manually go "