File size: 538 Bytes
3d7895a
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import gradio as gr
import cq2m_utils
cq2m_interface = gr.Interface(fn=cq2m_utils.cq2m,
                              inputs=gr.Audio(type='filepath', format='wav'),
                              outputs=gr.File(type='file'),
                              title="Choral Quartets to Midi",
                              description="An application that uses Multi-Pitch Estimation and Voice Assignment to transform .WAV files with Choral Quartets recordings into MIDI files, with a separate track for each voice.")

cq2m_interface.launch()