Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ with gr.Blocks() as demo:
|
|
71 |
generate_button.click(fn=update_output, inputs=file_upload, outputs=current_line)
|
72 |
|
73 |
with gr.Row():
|
74 |
-
audio_record =
|
75 |
save_button = gr.Button("Save Audio and Next Line")
|
76 |
|
77 |
save_button.click(fn=save_audio_text, inputs=[audio_record, current_line], outputs=current_line)
|
|
|
71 |
generate_button.click(fn=update_output, inputs=file_upload, outputs=current_line)
|
72 |
|
73 |
with gr.Row():
|
74 |
+
audio_record = gr.Audio(sources=["microphone","upload"], type="filepath")
|
75 |
save_button = gr.Button("Save Audio and Next Line")
|
76 |
|
77 |
save_button.click(fn=save_audio_text, inputs=[audio_record, current_line], outputs=current_line)
|