Spaces:
Running
Running
admin
commited on
Commit
·
4289128
1
Parent(s):
7c4e468
upd md
Browse files
README.md
CHANGED
@@ -9,6 +9,4 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
license: mit
|
11 |
short_description: Discriminator of Bel Canto and Chinese Folk Singing
|
12 |
-
---
|
13 |
-
|
14 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
9 |
pinned: false
|
10 |
license: mit
|
11 |
short_description: Discriminator of Bel Canto and Chinese Folk Singing
|
12 |
+
---
|
|
|
|
utils.py
CHANGED
@@ -4,10 +4,7 @@ import torchvision.transforms as transforms
|
|
4 |
from huggingface_hub import snapshot_download
|
5 |
from PIL import Image
|
6 |
|
7 |
-
MODEL_DIR = snapshot_download(
|
8 |
-
"ccmusic-database/bel_canto",
|
9 |
-
cache_dir="./__pycache__",
|
10 |
-
)
|
11 |
|
12 |
|
13 |
def toCUDA(x):
|
|
|
4 |
from huggingface_hub import snapshot_download
|
5 |
from PIL import Image
|
6 |
|
7 |
+
MODEL_DIR = snapshot_download("ccmusic-database/bel_canto", cache_dir="./__pycache__")
|
|
|
|
|
|
|
8 |
|
9 |
|
10 |
def toCUDA(x):
|