visakh7843 commited on
Commit
c12cf3d
1 Parent(s): 2a6e99c

packages.txt added and modified app.py

Browse files
Files changed (2) hide show
  1. app.py +0 -2
  2. 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"),
 
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"),
packages.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ lilypond
2
+ fluidsynth