Spaces:
Runtime error
Runtime error
change ui
Browse files
app.py
CHANGED
|
@@ -85,8 +85,9 @@ file_upload_interface = gr.Interface(
|
|
| 85 |
fn=transcribe,
|
| 86 |
inputs=input_audio,
|
| 87 |
outputs=["text", "text", "text"],
|
| 88 |
-
|
| 89 |
-
|
|
|
|
| 90 |
)
|
| 91 |
|
| 92 |
input_audio_mic = gr.Audio(sources=["microphone"], label="Record Audio", streaming=True)
|
|
|
|
| 85 |
fn=transcribe,
|
| 86 |
inputs=input_audio,
|
| 87 |
outputs=["text", "text", "text"],
|
| 88 |
+
live=True,
|
| 89 |
+
title="Speak to Transcript",
|
| 90 |
+
description="Upload an audio file to transcribe and detect the spoken language."
|
| 91 |
)
|
| 92 |
|
| 93 |
input_audio_mic = gr.Audio(sources=["microphone"], label="Record Audio", streaming=True)
|