Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,10 +47,10 @@ def speech_to_text(mic=None, file=None):
|
|
47 |
with gr.Blocks() as demo:
|
48 |
with gr.Row():
|
49 |
with gr.Column():
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
with gr.Row():
|
55 |
speech_to_text = gr.Button("Speech to text go brrr")
|
56 |
with gr.Column():
|
|
|
47 |
with gr.Blocks() as demo:
|
48 |
with gr.Row():
|
49 |
with gr.Column():
|
50 |
+
audio_file =[
|
51 |
+
gr.Audio(source="microphone", type="filepath", optional=True),
|
52 |
+
gr.Audio(source="upload", type="filepath", optional=True)]
|
53 |
+
text = gr.Textbox()
|
54 |
with gr.Row():
|
55 |
speech_to_text = gr.Button("Speech to text go brrr")
|
56 |
with gr.Column():
|