Spaces:
Running on Zero
Running on Zero
Commit ·
1b0acf6
1
Parent(s): b840b20
Add support for audio input upload in demo interface
Browse files
app.py
CHANGED
|
@@ -291,7 +291,7 @@ with gr.Blocks(title="PersonaPlex Demo", theme=gr.themes.Soft()) as demo:
|
|
| 291 |
with gr.Column(scale=2):
|
| 292 |
audio_input = gr.Audio(
|
| 293 |
label="🎤 Record your message",
|
| 294 |
-
sources=["microphone"],
|
| 295 |
type="numpy",
|
| 296 |
)
|
| 297 |
generate_btn = gr.Button("Generate Response", variant="primary", size="lg")
|
|
|
|
| 291 |
with gr.Column(scale=2):
|
| 292 |
audio_input = gr.Audio(
|
| 293 |
label="🎤 Record your message",
|
| 294 |
+
sources=["microphone", "upload"],
|
| 295 |
type="numpy",
|
| 296 |
)
|
| 297 |
generate_btn = gr.Button("Generate Response", variant="primary", size="lg")
|