Spaces:
Runtime error
Runtime error
visakh7843
commited on
Merge branch 'main' of https://github.com/visakh7843/Sheet-music-generator-for-Sight-Reading into main
Browse files- app.py +1 -3
- packages.txt +2 -0
app.py
CHANGED
@@ -5,8 +5,6 @@ import os
|
|
5 |
keysignature = ["C","G","D","No selection"]
|
6 |
difficulty = ["beginner","intermediate","expert"]
|
7 |
timesignature = ['3/4','4/4','1/8','C|']
|
8 |
-
# os.system("apt-get install lilypond")
|
9 |
-
# os.system("apt-get install fluidsynth")
|
10 |
|
11 |
interface = gr.Interface(fn = music_gen,
|
12 |
inputs=[gr.Radio(difficulty,label="Difficulty"),
|
@@ -15,4 +13,4 @@ inputs=[gr.Radio(difficulty,label="Difficulty"),
|
|
15 |
outputs = ["image","audio"],
|
16 |
title="Sheet Music Generation for Sight-Reading",
|
17 |
description="TO be added")
|
18 |
-
interface.launch(inline=False)
|
|
|
5 |
keysignature = ["C","G","D","No selection"]
|
6 |
difficulty = ["beginner","intermediate","expert"]
|
7 |
timesignature = ['3/4','4/4','1/8','C|']
|
|
|
|
|
8 |
|
9 |
interface = gr.Interface(fn = music_gen,
|
10 |
inputs=[gr.Radio(difficulty,label="Difficulty"),
|
|
|
13 |
outputs = ["image","audio"],
|
14 |
title="Sheet Music Generation for Sight-Reading",
|
15 |
description="TO be added")
|
16 |
+
interface.launch(inline=False)
|
packages.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
lilypond
|
2 |
+
fluidsynth
|