Niral Patel commited on
Commit
8b1b948
1 Parent(s): a6ddb91

change model name

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. 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: fsmt
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) # Register the custom configuration
32
- AutoModel.register(SpleeterConfig, SpleeterModel) # Register the custom model
 
28
  return self.separator.separate(audio_path)
29
 
30
 
31
+ AutoConfig.register("spleeter", SpleeterConfig)
32
+ AutoModel.register(SpleeterConfig, SpleeterModel)