Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,13 @@ demo = gr.Interface(
|
|
| 54 |
)
|
| 55 |
|
| 56 |
if __name__ == "__main__":
|
| 57 |
-
demo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
|
| 60 |
|
|
|
|
| 54 |
)
|
| 55 |
|
| 56 |
if __name__ == "__main__":
|
| 57 |
+
demo = gr.Interface(
|
| 58 |
+
fn=run_legato_omr,
|
| 59 |
+
inputs=gr.Image(type="pil", label="1. Upload Sheet Music Snippet"),
|
| 60 |
+
outputs=gr.Textbox(label="2. LEGATO Output (ABC Notation Text)"),
|
| 61 |
+
title="🎼 LEGATO End-to-End OMR Engine (API Optimized)",
|
| 62 |
+
description="Proxied through Hugging Face's serverless pipeline to bypass local 16GB CPU limits. Transcriptions finish in seconds."
|
| 63 |
+
)
|
| 64 |
|
| 65 |
|
| 66 |
|