sanjeevbora commited on
Commit
b6fdcd3
·
verified ·
1 Parent(s): 5fee1a1
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -94,7 +94,8 @@ with gr.Blocks(theme="huggingface") as demo:
94
  with gr.Tabs():
95
  with gr.TabItem("Microphone"):
96
  with gr.Row():
97
- mic_input = gr.Audio(source="microphone", type="filepath", label="Microphone Input")
 
98
  mic_task = gr.Radio(["transcribe", "translate"], label="Task", value="transcribe")
99
  mic_output = gr.Textbox(label="Transcription")
100
  mic_button = gr.Button("Transcribe")
 
94
  with gr.Tabs():
95
  with gr.TabItem("Microphone"):
96
  with gr.Row():
97
+ mic_input = gr.Audio(type="filepath", label="Microphone Input")
98
+ # mic_input = gr.Audio(source="microphone", type="filepath", label="Microphone Input")
99
  mic_task = gr.Radio(["transcribe", "translate"], label="Task", value="transcribe")
100
  mic_output = gr.Textbox(label="Transcription")
101
  mic_button = gr.Button("Transcribe")