NotaGen-Inference / README.md
manoskary's picture
Update README.md
736f3ee verified

A newer version of the Gradio SDK is available: 6.1.0

Upgrade
metadata
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

from gradio_client import Client

client = Client("https://huggingface.co/spaces/<your-username>/<space-name>")

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 for remote music generation without local GPU computation.

Model

Uses the NotaGen model for symbolic music generation.

License

MIT License