Niral Patel
commited on
Commit
•
8b1b948
1
Parent(s):
a6ddb91
change model name
Browse files- README.md +1 -1
- custom_model.py +2 -2
README.md
CHANGED
@@ -18,7 +18,7 @@ model-index:
|
|
18 |
- name: Spleeter 2-Stems Transformer Integration
|
19 |
results:
|
20 |
- task:
|
21 |
-
type:
|
22 |
name: Source Separation
|
23 |
dataset:
|
24 |
type: None # Replace with dataset name if you used one
|
|
|
18 |
- name: Spleeter 2-Stems Transformer Integration
|
19 |
results:
|
20 |
- task:
|
21 |
+
type: spleeter
|
22 |
name: Source Separation
|
23 |
dataset:
|
24 |
type: None # Replace with dataset name if you used one
|
custom_model.py
CHANGED
@@ -28,5 +28,5 @@ class SpleeterModel(PreTrainedModel):
|
|
28 |
return self.separator.separate(audio_path)
|
29 |
|
30 |
|
31 |
-
AutoConfig.register("spleeter", SpleeterConfig)
|
32 |
-
AutoModel.register(SpleeterConfig, SpleeterModel)
|
|
|
28 |
return self.separator.separate(audio_path)
|
29 |
|
30 |
|
31 |
+
AutoConfig.register("spleeter", SpleeterConfig)
|
32 |
+
AutoModel.register(SpleeterConfig, SpleeterModel)
|