Spark808 commited on
Commit
c5ed8c2
·
1 Parent(s): 9dec28c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="audio", 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",
 
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",