Update run.py
Browse files
run.py
CHANGED
@@ -48,7 +48,8 @@ def transcribe(speech, stream):
|
|
48 |
|
49 |
demo = gr.Interface(
|
50 |
transcribe,
|
51 |
-
[gr.Audio(source="microphone", streaming=True), "state"],
|
|
|
52 |
["text", "state"],
|
53 |
live=True,
|
54 |
)
|
|
|
48 |
|
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 |
)
|