naotokui commited on
Commit
5b79720
1 Parent(s): 84fb4aa

added: requirements

Browse files
Files changed (4) hide show
  1. .gitignore +1 -0
  2. app.py +19 -0
  3. packages.txt +1 -0
  4. requirements.txt +29 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ ./ChatGPT-Composer
app.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #%%
2
+ import git
3
+ import os
4
+ import subprocess
5
+ subprocess.call("git lfs install", shell=True)
6
+
7
+ # %%
8
+ # clone private repo
9
+ git_securet = os.environ["SECRET_GIT"]
10
+ git.Git().clone("https://%[email protected]/spaces/qosmoinc/ChatGPT-Composer.git" % git_securet)
11
+
12
+ app_dir = os.path.join(os.getcwd(), "ChatGPT-Composer")
13
+ print(app_dir)
14
+
15
+ # Run!
16
+ os.chdir(app_dir)
17
+ subprocess.call("python app.py", shell=True)
18
+ #exec(open("./ChatGPT-Composer/app.py").read())
19
+ # %%
packages.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ fluidsynth
requirements.txt ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GitPython
2
+ gradio
3
+ pretty_midi== 0.2.10
4
+ openai
5
+ pedalboard==0.7.1
6
+ soundfile
7
+ #brew install fluid-synth
8
+
9
+ # Music Generation
10
+ aiohttp==3.8.0
11
+ coloredlogs==15.0.1
12
+ matplotlib==3.4.3
13
+ miditok==1.1.9
14
+ note-seq==0.0.3
15
+ pip-chill==1.0.1
16
+ pychord==1.0.0
17
+ pyfluidsynth==1.3.0
18
+ pytorch-lightning==1.5.1
19
+ transformers==4.12.3
20
+ wandb==0.12.10
21
+ xxhash==2.0.2
22
+ protobuf==3.20
23
+ jsonschema==4.17.3
24
+ torchmetrics==0.5.0
25
+
26
+ pydub==0.25.1
27
+ neutone_sdk==1.1.2
28
+ dirtyjson==1.0.8
29
+ audioldm==0.0.21