Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ def save_audio_text(audio, text):
|
|
| 73 |
# Define the Gradio interface
|
| 74 |
with gr.Interface(
|
| 75 |
fn=save_audio_text,
|
| 76 |
-
inputs=[gr.Audio(["microphone"
|
| 77 |
outputs=gr.Textbox(label="Next Line")
|
| 78 |
) as iface:
|
| 79 |
iface.launch()
|
|
|
|
| 73 |
# Define the Gradio interface
|
| 74 |
with gr.Interface(
|
| 75 |
fn=save_audio_text,
|
| 76 |
+
inputs=[gr.Audio(["microphone"], type="filepath", label="Record Audio"), gr.Textbox(label="Current Line")],
|
| 77 |
outputs=gr.Textbox(label="Next Line")
|
| 78 |
) as iface:
|
| 79 |
iface.launch()
|