File size: 684 Bytes
3d7895a
9c5c602
 
 
 
 
 
3d7895a
9c5c602
1
2
3
4
5
6
7
8
9
import gradio as gr
from cqfe_utils import cqfe
cqfe_interface = gr.Interface(fn=cqfe,
                              inputs=gr.Audio(type='filepath', format='wav', label='Audio Input File'),
                              outputs=gr.File(type='file', label='F0 Output Files'),
                              title="Choral Quartets F0 Extractor",
                              description="An application that uses Multi-Pitch Estimation and Voice Assignment to transform audio files with Choral Quartets recordings into files (CSV, HDF5 and MIDI) containing F0 estimations for each voice (Soprano, Alto, Tenor and Bass). The processing may take a few minutes.")

cqfe_interface.launch()