Spaces:
Build error
Build error
Commit
·
eb3a234
1
Parent(s):
a2dd74e
Add ismir21 at the start
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ os.putenv("QT_QPA_PLATFORM", "offscreen")
|
|
25 |
os.putenv("XDG_RUNTIME_DIR", environment.Environment().getRootTempDir())
|
26 |
|
27 |
# Start inference model
|
28 |
-
inference_model = InferenceModel("/home/user/app/checkpoints/
|
29 |
-
current_model = "
|
30 |
|
31 |
def change_model(model):
|
32 |
global current_model
|
|
|
25 |
os.putenv("XDG_RUNTIME_DIR", environment.Environment().getRootTempDir())
|
26 |
|
27 |
# Start inference model
|
28 |
+
inference_model = InferenceModel("/home/user/app/checkpoints/ismir2021/", "ismir2021")
|
29 |
+
current_model = "ismir2021"
|
30 |
|
31 |
def change_model(model):
|
32 |
global current_model
|