dubai / modules /hf.py
fountai's picture
mimic
1fe2f2f
raw
history blame contribute delete
268 Bytes
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