Spaces:
Running on Zero
Running on Zero
Fix the launch keywords and the taxonomy import
Browse files
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
|
|
|
|
| 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
|