FahadAlam commited on
Commit
530fef9
1 Parent(s): dc417eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -31,17 +31,14 @@ def segmentation(audio):
31
 
32
  return diarized_output, full_text
33
 
34
- title = "Speaker Segmentation"
35
-
36
  inputs = gr.inputs.Audio(source="upload", type="filepath", label="Upload your audio file here:")
37
  outputs = [gr.outputs.Textbox(type="auto", label="Diarized Output"),
38
- gr.outputs.Textbox(type="auto",label="Full ASR Text for comparison")]
39
  examples = [["TestAudio1.wav"],]
40
 
41
  app = gr.Interface(fn=segmentation,
42
  inputs=inputs,
43
  outputs=outputs,
44
  examples=examples,
45
- title=title,
46
  allow_flagging=False)
47
  app.launch()
 
31
 
32
  return diarized_output, full_text
33
 
 
 
34
  inputs = gr.inputs.Audio(source="upload", type="filepath", label="Upload your audio file here:")
35
  outputs = [gr.outputs.Textbox(type="auto", label="Diarized Output"),
36
+ gr.outputs.Textbox(type="auto",label="Full Text")]
37
  examples = [["TestAudio1.wav"],]
38
 
39
  app = gr.Interface(fn=segmentation,
40
  inputs=inputs,
41
  outputs=outputs,
42
  examples=examples,
 
43
  allow_flagging=False)
44
  app.launch()