harp-dev commited on
Commit
d8d68b8
·
verified ·
1 Parent(s): 81e6427

Fix the launch keywords and the taxonomy import

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -24,7 +24,8 @@ import soundfile as sf
24
  import torch
25
  import torchaudio
26
  from huggingface_hub import hf_hub_download
27
- from pyharp import ModelCard, build_endpoint, Subcategory
 
28
 
29
  from src.constants import CODEBOOK_SIZE, SAMPLE_RATE
30
  from src.models.instructmusicgenadapter_module import InstructMusicGenAdapterLitModule
 
24
  import torch
25
  import torchaudio
26
  from huggingface_hub import hf_hub_download
27
+ from pyharp import ModelCard, build_endpoint
28
+ from pyharp.tags import Subcategory
29
 
30
  from src.constants import CODEBOOK_SIZE, SAMPLE_RATE
31
  from src.models.instructmusicgenadapter_module import InstructMusicGenAdapterLitModule