Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
21 |
demo = gr.Interface(
|
22 |
respond,
|
23 |
inputs=[
|
24 |
-
gr.Audio(label="speak",
|
25 |
gr.Textbox(label="target")
|
26 |
],
|
27 |
outputs="text"
|
|
|
21 |
demo = gr.Interface(
|
22 |
respond,
|
23 |
inputs=[
|
24 |
+
gr.Audio(label="speak", waveform_options=gr.WaveformOptions(sample_rate=16000)),
|
25 |
gr.Textbox(label="target")
|
26 |
],
|
27 |
outputs="text"
|