hantupocong commited on
Commit
58eefb4
·
verified ·
1 Parent(s): 61618b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -269,7 +269,7 @@ with gr.Blocks() as demo:
269
  with gr.Tab("Text Input"): #whisper
270
  text_input = gr.Textbox(label="Enter Malay Word or Sentence")
271
  with gr.Tab("Speech Input"):
272
- audio_input = gr.Audio(source=["microphone"], type="filepath", label="Record Malay Audio")
273
  audio_transcript = gr.Textbox(label="Transcribed Text", interactive=True)
274
  transcribe_btn = gr.Button("Transcribe") #whisper
275
 
 
269
  with gr.Tab("Text Input"): #whisper
270
  text_input = gr.Textbox(label="Enter Malay Word or Sentence")
271
  with gr.Tab("Speech Input"):
272
+ audio_input = gr.Audio(type="filepath", label="Upload or Record Malay Audio")
273
  audio_transcript = gr.Textbox(label="Transcribed Text", interactive=True)
274
  transcribe_btn = gr.Button("Transcribe") #whisper
275