harp-dev commited on
Commit
96aa375
·
verified ·
1 Parent(s): a3b46d0

Fix the launch keywords and the taxonomy import

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -26,7 +26,8 @@ import torch
26
  import torchaudio
27
  from huggingface_hub import hf_hub_download
28
  from omegaconf import OmegaConf
29
- from pyharp import ModelCard, build_endpoint, Subcategory
 
30
 
31
  # cqt_nsgt_pytorch clips an int-dtype array against np.inf with out=, which
32
  # numpy's ufunc casting rules reject on any numpy version. Compute without
 
26
  import torchaudio
27
  from huggingface_hub import hf_hub_download
28
  from omegaconf import OmegaConf
29
+ from pyharp import ModelCard, build_endpoint
30
+ from pyharp.tags import Subcategory
31
 
32
  # cqt_nsgt_pytorch clips an int-dtype array against np.inf with out=, which
33
  # numpy's ufunc casting rules reject on any numpy version. Compute without