Download README.md from Ksu2023/test: direct link, hf CLI and curl.
- Browser
- Download file 1.41 kB
-
https://huggingface.co/spaces/Ksu2023/test/resolve/main/README.md
- Command line
-
hf download hf://spaces/Ksu2023/test/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Ksu2023/test/resolve/main/README.md
A newer version of the Gradio SDK is available: 6.32.0
title: OMR Comparator Backend
emoji: 🎼
colorFrom: yellow
colorTo: gray
sdk: gradio
app_file: app.py
suggested_hardware: cpu-basic
OMR Comparator Backend
This is the public FastAPI gateway used by the OMR Bench v0 app. The Space uses the free Gradio SDK runner and starts the FastAPI gateway from app.py; no paid Docker hardware is required.
Important
The gateway does not contain the six model runtimes. It proxies requests to model services configured with environment variables:
ROKOT_REMOTE_URLLEGATO_REMOTE_URLTRANSCODA_REMOTE_URLSMT_REMOTE_URLHOMR_REMOTE_URLFLOVA_REMOTE_URL
Each remote service must accept a multipart upload at the configured URL and return either MusicXML text or JSON containing musicxml, xml, music_xml, or result.
Optional upload field overrides:
ROKOT_REMOTE_FIELDLEGATO_REMOTE_FIELDTRANSCODA_REMOTE_FIELDSMT_REMOTE_FIELDHOMR_REMOTE_FIELDFLOVA_REMOTE_FIELD
They default to image.
Health check
Open / after deployment. It reports the six model IDs and how many remote adapters are configured.
Local run
pip install -r requirements.txt
uvicorn omr_backend:app --host 0.0.0.0 --port 8000
v0 Preview
Use the public HTTPS Space URL in OMR Bench Settings, for example:
https://YOUR-SPACE-NAME.hf.space
Do not use localhost or 127.0.0.1 in v0 Preview.