Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -204,11 +204,11 @@ def receive():
|
|
204 |
with gr.Blocks() as demo:
|
205 |
input_audio = gr.Audio(sources=["upload"])
|
206 |
output = gr.Textbox(label="Record Sound")
|
207 |
-
btn = gr.Button(value="
|
208 |
btn.click(fn=record, inputs=input_audio, outputs=output)
|
209 |
|
210 |
output_third = gr.Textbox(label="Received Text")
|
211 |
-
btn_3 = gr.Button(value="
|
212 |
btn_3.click(fn=receive, outputs=output_third)
|
213 |
|
214 |
demo.launch()
|
|
|
204 |
with gr.Blocks() as demo:
|
205 |
input_audio = gr.Audio(sources=["upload"])
|
206 |
output = gr.Textbox(label="Record Sound")
|
207 |
+
btn = gr.Button(value="Convert")
|
208 |
btn.click(fn=record, inputs=input_audio, outputs=output)
|
209 |
|
210 |
output_third = gr.Textbox(label="Received Text")
|
211 |
+
btn_3 = gr.Button(value="Received Text")
|
212 |
btn_3.click(fn=receive, outputs=output_third)
|
213 |
|
214 |
demo.launch()
|