Update app.py
Browse files
app.py
CHANGED
|
@@ -60,13 +60,13 @@ def transcribe_speech(filepath):
|
|
| 60 |
demo = gr.Blocks()
|
| 61 |
|
| 62 |
mic_transcribe = gr.Interface(
|
| 63 |
-
fn=
|
| 64 |
inputs=gr.Audio(sources="microphone", type="filepath"),
|
| 65 |
outputs=gr.Textbox(lines=10, label="Transcription with Timestamps"),
|
| 66 |
)
|
| 67 |
|
| 68 |
file_transcribe = gr.Interface(
|
| 69 |
-
fn=
|
| 70 |
inputs=gr.Audio(sources="upload", type="filepath"),
|
| 71 |
outputs=gr.Textbox(lines=10, label="Transcription with Timestamps"),
|
| 72 |
)
|
|
|
|
| 60 |
demo = gr.Blocks()
|
| 61 |
|
| 62 |
mic_transcribe = gr.Interface(
|
| 63 |
+
fn=transcribe_speech,
|
| 64 |
inputs=gr.Audio(sources="microphone", type="filepath"),
|
| 65 |
outputs=gr.Textbox(lines=10, label="Transcription with Timestamps"),
|
| 66 |
)
|
| 67 |
|
| 68 |
file_transcribe = gr.Interface(
|
| 69 |
+
fn=transcribe_speech,
|
| 70 |
inputs=gr.Audio(sources="upload", type="filepath"),
|
| 71 |
outputs=gr.Textbox(lines=10, label="Transcription with Timestamps"),
|
| 72 |
)
|