Update run.py
Browse files
run.py
CHANGED
@@ -46,7 +46,8 @@ def transcribe(audio_file):
|
|
46 |
demo = gr.Interface(
|
47 |
transcribe,
|
48 |
# [gr.Audio(source="microphone", streaming=True), "state"],
|
49 |
-
gr.Audio(label="Upload Audio File", source="upload", type="filepath")
|
|
|
50 |
)
|
51 |
|
52 |
if __name__ == "__main__":
|
|
|
46 |
demo = gr.Interface(
|
47 |
transcribe,
|
48 |
# [gr.Audio(source="microphone", streaming=True), "state"],
|
49 |
+
gr.Audio(label="Upload Audio File", source="upload", type="filepath"),
|
50 |
+
outputs=gr.Textbox(label="Transcript")
|
51 |
)
|
52 |
|
53 |
if __name__ == "__main__":
|