tykiww commited on
Commit
77b5e94
β€’
1 Parent(s): 1bb805a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -25,8 +25,8 @@ def main(conf):
25
 
26
 
27
  with gr.TabItem(conf["layout"]["page_names"][1]):
28
- gr.Markdown("# πŸ”Š Upload or Record your meeting")
29
- audio_input = gr.Audio(type="filepath", label="Upload Audio File")
30
  num_speakers = gr.Dropdown(list(range(conf["session"]["min_speakers"],
31
  conf["session"]["max_speakers"])),
32
  label="Number of Speakers",
@@ -42,7 +42,8 @@ def main(conf):
42
  process_button = gr.Button("Process")
43
 
44
 
45
- with gr.TabItem(conf["layout"]["page_names"][1]):
 
46
  diarization_output = gr.Textbox(label="Diarization Output")
47
  label_file_link = gr.File(label="Download DAW Labels")
48
 
 
25
 
26
 
27
  with gr.TabItem(conf["layout"]["page_names"][1]):
28
+ gr.Markdown("# πŸ”Š Upload or record your meeting")
29
+ audio_input = gr.Audio(type="filepath", label="Upload Audio File", file_types=conf["session"]["filetypes"])
30
  num_speakers = gr.Dropdown(list(range(conf["session"]["min_speakers"],
31
  conf["session"]["max_speakers"])),
32
  label="Number of Speakers",
 
42
  process_button = gr.Button("Process")
43
 
44
 
45
+ with gr.TabItem(conf["layout"]["page_names"][2]):
46
+ gr.Markdown("# πŸ”Š View and download your meeting transcript")
47
  diarization_output = gr.Textbox(label="Diarization Output")
48
  label_file_link = gr.File(label="Download DAW Labels")
49