Niral Patel
commited on
Commit
·
28dcb23
1
Parent(s):
8b1b948
change in model config
Browse files- Makefile +6 -0
- custom_model.py +1 -1
Makefile
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
make done:
|
| 2 |
+
git add .
|
| 3 |
+
git commit -m "change in model config"
|
| 4 |
+
git push origin main
|
| 5 |
+
python custom_model.py
|
| 6 |
+
python test.py
|
custom_model.py
CHANGED
|
@@ -3,7 +3,7 @@ from spleeter.separator import Separator
|
|
| 3 |
|
| 4 |
|
| 5 |
class SpleeterConfig(PretrainedConfig):
|
| 6 |
-
model_type = "
|
| 7 |
|
| 8 |
def __init__(self, stems=2, **kwargs):
|
| 9 |
super().__init__(**kwargs)
|
|
|
|
| 3 |
|
| 4 |
|
| 5 |
class SpleeterConfig(PretrainedConfig):
|
| 6 |
+
model_type = "spleeter"
|
| 7 |
|
| 8 |
def __init__(self, stems=2, **kwargs):
|
| 9 |
super().__init__(**kwargs)
|