Spaces:
Sleeping
Sleeping
Update clap_wrapper.py
Browse files- clap_wrapper.py +1 -1
clap_wrapper.py
CHANGED
@@ -29,7 +29,7 @@ ensure_model_downloaded()
|
|
29 |
|
30 |
# โหลด processor
|
31 |
models = dict()
|
32 |
-
processor = ClapProcessor.from_pretrained(
|
33 |
|
34 |
def get_clap_audio_feature(audio_data, device=config.bert_gen_config.device):
|
35 |
if (
|
|
|
29 |
|
30 |
# โหลด processor
|
31 |
models = dict()
|
32 |
+
processor = ClapProcessor.from_pretrained("laion/clap-htsat-fused")
|
33 |
|
34 |
def get_clap_audio_feature(audio_data, device=config.bert_gen_config.device):
|
35 |
if (
|