Spaces:
Running
on
Zero
Running
on
Zero
import gradio as gr | |
from transformers import pipeline | |
from audio2hero import generate_midi | |
gradio_app = gr.Interface( | |
generate_midi, | |
inputs=gr.Audio(label="Input Audio", type="filepath"), | |
outputs=gr.File(label="Output MIDI"), | |
title="Audio2Hero AI Autocharter for CloneHero", | |
) | |
if __name__ == "__main__": | |
gradio_app.launch() |