harp-dev commited on
Commit
da9e7a7
·
verified ·
1 Parent(s): c63fab9

Declare the model's own sample rate and channel count

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import torchaudio
4
  import random
5
  import tempfile
6
 
7
- from pyharp import ModelCard, build_endpoint
8
  from pyharp.tags import Subcategory
9
  from huggingface_hub import hf_hub_download
10
 
@@ -211,7 +211,7 @@ model_card = ModelCard(
211
  )
212
  ),
213
  author="Matthew Rice, Christian J. Steinmetz, George Fazekas, Joshua D. Reiss",
214
- tags=[Subcategory.EFFECT_REMOVAL, 'audio effects', 'effect removal'],
215
  )
216
 
217
  if __name__ == "__main__":
 
4
  import random
5
  import tempfile
6
 
7
+ from pyharp import ModelCard, build_endpoint, SampleRate, Channels
8
  from pyharp.tags import Subcategory
9
  from huggingface_hub import hf_hub_download
10
 
 
211
  )
212
  ),
213
  author="Matthew Rice, Christian J. Steinmetz, George Fazekas, Joshua D. Reiss",
214
+ tags=[Subcategory.EFFECT_REMOVAL, SampleRate(48000), Channels(1), 'audio effects', 'effect removal'],
215
  )
216
 
217
  if __name__ == "__main__":