Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ if __name__ == '__main__':
|
|
131 |
)
|
132 |
with gr.Row():
|
133 |
with gr.Column():
|
134 |
-
vc_input = gr.Microphone(label="Record from Microphone", type="
|
135 |
vc_transpose = gr.Number(label="Transpose", value=0)
|
136 |
vc_f0method = gr.Radio(
|
137 |
label="Pitch extraction algorithm, PM is fast but Harvest is better for low frequencies",
|
|
|
131 |
)
|
132 |
with gr.Row():
|
133 |
with gr.Column():
|
134 |
+
vc_input = gr.Microphone(label="Record from Microphone", type="numpy", preprocess=lambda x: x.get("data"))
|
135 |
vc_transpose = gr.Number(label="Transpose", value=0)
|
136 |
vc_f0method = gr.Radio(
|
137 |
label="Pitch extraction algorithm, PM is fast but Harvest is better for low frequencies",
|