o
    㥵i/                     @   sr   d dl Z d dlmZ dd ZdZdZg dZdZd	Zd
dgZ	dZ
d	ZdgZeeee eee	e ee
ee dS )    N)hf_hub_downloadc                 C   sf   t j|dd |D ]'}t j||}t j|s)t| d t| |d|dd q	t| d q	d S )NT)exist_oku-    不存在，从 Hugging Face 仓库下载...F)repo_idfilenameresume_download	local_dirlocal_dir_use_symlinksu    已存在，跳过下载。)osmakedirspathjoinexistsprintr   )r   	file_listr   file	file_path r   I/home/ubuntu/.local/lib/python3.10/site-packages/tools/download_models.pycheck_and_download_files   s   r   zfishaudio/openaudio-s1-miniz./checkpoints/openaudio-s1-mini)z.gitattributesz	model.pthz	README.mdzspecial_tokens.jsonztokenizer.tiktokenzconfig.jsonz	codec.pthzfishaudio/fish-speech-1z./z
ffmpeg.exezffprobe.exez SpicyqSama007/fish-speech-packedzasr-label-win-x64.exe)r	   huggingface_hubr   r   	repo_id_1local_dir_1files_1	repo_id_3local_dir_3files_3	repo_id_4local_dir_4files_4r   r   r   r   <module>   s$    