File size: 268 Bytes
1fe2f2f
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import os 
from huggingface_hub import hf_hub_download

token = os.environ.get("HF_TOKEN")

model_path = hf_hub_download(repo_id='Alertpix/new_audio_model', filename='model_1200000.safetensors', token=token, local_dir="./")

def get_model_path():
    return model_path