Simon Stolarczyk
Add file input interface.
c7cb9a5
raw
history blame
171 Bytes
import gradio as gr
def process_midi(filename):
return "Got it!"
iface = gr.Interface(
fn=process_midi,
inputs="file",
outputs="text"
)
iface.launch()