Update run.py
Browse files
run.py
CHANGED
@@ -49,7 +49,7 @@ def transcribe(speech, stream):
|
|
49 |
demo = gr.Interface(
|
50 |
transcribe,
|
51 |
# [gr.Audio(source="microphone", streaming=True), "state"],
|
52 |
-
|
53 |
["text", "state"],
|
54 |
live=True,
|
55 |
)
|
|
|
49 |
demo = gr.Interface(
|
50 |
transcribe,
|
51 |
# [gr.Audio(source="microphone", streaming=True), "state"],
|
52 |
+
gr.Audio(label="Upload Audio File", source="upload", type="filepath"),
|
53 |
["text", "state"],
|
54 |
live=True,
|
55 |
)
|