nishrev commited on
Commit
0d17251
1 Parent(s): 69f1a71

Revert to older gradio style

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,7 +58,7 @@ def recognition(audio, style=0):
58
 
59
  # input
60
  inputs = [
61
- gr.Audio(type="microphone", subtype="filepath", label='Input audio'),
62
  gr.Slider(0, 1, value=0, label="Verbatimicity - from non-verbatim (0) to verbatim (1)", info="Choose a transcription style between non-verbatim and verbatim"),
63
  ]
64
 
@@ -72,7 +72,7 @@ examples = [
72
  ]
73
 
74
 
75
- output = gr.Textbox(label="Output Text")
76
 
77
  text = "Reverb ASR Transcription Styles Demo"
78
 
 
58
 
59
  # input
60
  inputs = [
61
+ gr.inputs.Audio(source="microphone", type="filepath", label='Input audio'),
62
  gr.Slider(0, 1, value=0, label="Verbatimicity - from non-verbatim (0) to verbatim (1)", info="Choose a transcription style between non-verbatim and verbatim"),
63
  ]
64
 
 
72
  ]
73
 
74
 
75
+ output = gr.outputs.Textbox(label="Output Text")
76
 
77
  text = "Reverb ASR Transcription Styles Demo"
78