wxnono commited on
Commit
d6e6fe6
·
verified ·
1 Parent(s): 42c5bbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -54,7 +54,13 @@ demo = gr.Interface(
54
  )
55
 
56
  if __name__ == "__main__":
57
- demo.launch()
 
 
 
 
 
 
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