Update app.py
Browse files
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(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 |
|