Spaces:
Build error
Build error
alex buz
commited on
Commit
·
d6d029d
1
Parent(s):
d6410f9
new
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def save_audio(audio):
|
|
| 10 |
# Create a Gradio interface for recording audio
|
| 11 |
iface = gr.Interface(
|
| 12 |
fn=save_audio,
|
| 13 |
-
inputs=gr.Audio(source="microphone", type="
|
| 14 |
outputs=gr.Audio(label="Playback Recorded Audio"),
|
| 15 |
title="Simple Browser-Based Voice Recorder",
|
| 16 |
description="Click 'Record' to start recording. Click 'Stop' to end recording. Playback the recording below."
|
|
|
|
| 10 |
# Create a Gradio interface for recording audio
|
| 11 |
iface = gr.Interface(
|
| 12 |
fn=save_audio,
|
| 13 |
+
inputs=gr.Audio(source="microphone", type="filepath"),
|
| 14 |
outputs=gr.Audio(label="Playback Recorded Audio"),
|
| 15 |
title="Simple Browser-Based Voice Recorder",
|
| 16 |
description="Click 'Record' to start recording. Click 'Stop' to end recording. Playback the recording below."
|