kh-CHEUNG commited on
Commit
726c7b4
·
verified ·
1 Parent(s): 163c158

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,8 +83,8 @@ def transcribe(inputs, task):
83
  return text
84
 
85
 
86
- audio_input = gr.Audio(sources="microphone", type="filepath", label="Audio: from microphone") #gr.Audio(sources="upload", type="filepath", label="Audio: from file")
87
- audio_input_choice = gr.Radio(["audio file", "microphone"], label="Audio", value="audio file")
88
  task_input_choice = gr.Radio(["transcribe", "translate"], label="Task", value="transcribe")
89
 
90
  transcribe_interface = gr.Interface(
 
83
  return text
84
 
85
 
86
+ audio_input = gr.Audio(sources=["upload", "microphone"], type="filepath", label="Audio: from microphone") #gr.Audio(sources="upload", type="filepath", label="Audio: from file")
87
+ audio_input_choice = gr.Radio(["audio file", "microphone"], label="Audio") #, value="audio file"
88
  task_input_choice = gr.Radio(["transcribe", "translate"], label="Task", value="transcribe")
89
 
90
  transcribe_interface = gr.Interface(