--- title: NotaGen Inference emoji: 🎵 colorFrom: blue colorTo: purple sdk: gradio sdk_version: 5.48.0 app_file: app.py pinned: false license: mit short_description: Generate symbolic music in ABC notation using NotaGen. --- # NotaGen - Symbolic Music Generation Generate symbolic music in ABC notation using NotaGen. This space provides an API endpoint (`/infer`) for remote inference without local computation. ## Usage ### Web Interface Simply enter the musical period, composer style, and instrumentation, then click "Generate ABC Notation". ### API Access ```python from gradio_client import Client client = Client("https://huggingface.co/spaces//") result = client.predict( period="Classical", composer="Mozart", instrumentation="Piano", api_name="/infer" ) print(result) # ABC notation string ``` ## Parameters - **period**: Musical period (e.g., Classical, Romantic, Baroque) - **composer**: Composer style (e.g., Mozart, Chopin, Bach) - **instrumentation**: Instruments (e.g., Piano, Violin, Orchestra) ## Output Returns ABC notation as a plain text string. This can be converted to PDF, XML, MIDI, etc. using WeaveMuse or other ABC processing tools. ## Integration This space is designed to work with [WeaveMuse](https://github.com/manoskary/weavemuse) for remote music generation without local GPU computation. ## Model Uses the NotaGen model for symbolic music generation. ## License MIT License