agent404 commited on
Commit
dd5bb3b
·
1 Parent(s): d8d9ed1

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,8 +34,8 @@ def parse_abc_notation(text='', conversation_id='debug'):
34
  # Convert abc notation to SVG
35
  svg_file = f'tmp/{conversation_id}/{ts}.svg'
36
  audio_file = f'tmp/{conversation_id}/{ts}.mp3'
37
- subprocess.run(["./MuseScore-4.1.1.232071203-x86_64.AppImage", "-f", "-o", svg_file, tmp_midi])
38
- subprocess.run(["./MuseScore-4.1.1.232071203-x86_64.AppImage", "-f", "-o", audio_file, tmp_midi])
39
  return svg_file, audio_file
40
  else:
41
  return None, None
 
34
  # Convert abc notation to SVG
35
  svg_file = f'tmp/{conversation_id}/{ts}.svg'
36
  audio_file = f'tmp/{conversation_id}/{ts}.mp3'
37
+ subprocess.run(["musescore", "-o", svg_file, tmp_midi])
38
+ subprocess.run(["musescore", "-o", audio_file, tmp_midi])
39
  return svg_file, audio_file
40
  else:
41
  return None, None