Reubencf commited on
Commit
1664ec3
·
verified ·
1 Parent(s): 33a44f2

Add dedicated SheetSage2 ZeroGPU engine and Score Studio OAuth metadata

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ MODEL = AutoModel.from_pretrained(
30
  subprocess.run([sys.executable, "-m", "playwright", "install", "--only-shell", "chromium"], check=True)
31
 
32
 
33
- def gpu_seconds(audio, start, duration, melody_only, piano, **kwargs):
34
  # Short excerpts should fit visitor quotas instead of reserving five minutes.
35
  return max(45, min(300, int(float(duration) * 0.4) + 30))
36
 
 
30
  subprocess.run([sys.executable, "-m", "playwright", "install", "--only-shell", "chromium"], check=True)
31
 
32
 
33
+ def gpu_seconds(audio, start, duration, melody_only, piano, progress=None, **kwargs):
34
  # Short excerpts should fit visitor quotas instead of reserving five minutes.
35
  return max(45, min(300, int(float(duration) * 0.4) + 30))
36