Spaces:
Build error
Build error
Commit
·
ef98e8e
1
Parent(s):
b844906
Change where to install req. file
Browse files- app.py +4 -0
- inferencemodel.py +0 -4
- requirements.txt +1 -2
app.py
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
import note_seq
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
os.system("python3 -m pip install -e .")
|
4 |
+
|
5 |
import gradio as gr
|
6 |
|
7 |
import note_seq
|
inferencemodel.py
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
-
import os
|
2 |
-
|
3 |
-
os.system("python3 -m pip install -e .")
|
4 |
-
|
5 |
import functools
|
6 |
import os
|
7 |
|
|
|
|
|
|
|
|
|
|
|
1 |
import functools
|
2 |
import os
|
3 |
|
requirements.txt
CHANGED
@@ -7,5 +7,4 @@ jax[cpu]==0.3.15 -f https://storage.googleapis.com/jax-releases/jax_releases.htm
|
|
7 |
# pin CLU for python 3.7 compatibility
|
8 |
clu==0.0.7
|
9 |
# pin Orbax to use Checkpointer
|
10 |
-
orbax==0.0.2
|
11 |
-
note_seq
|
|
|
7 |
# pin CLU for python 3.7 compatibility
|
8 |
clu==0.0.7
|
9 |
# pin Orbax to use Checkpointer
|
10 |
+
orbax==0.0.2
|
|