import gradio as gr def process_midi(filename): return "Got it!" iface = gr.Interface( fn=process_midi, inputs="file", outputs="text" ) iface.launch()