mirror of
https://github.com/serp-ai/bark-with-voice-clone.git
synced 2026-04-03 09:46:24 +02:00
Add ability to use custom paths
This commit is contained in:
@@ -180,6 +180,26 @@
|
||||
"In conclusion, the human journey is one of discovery, driven by our innate curiosity and desire to understand the world around us. From the dawn of our species to the present day, we have continued to explore, learn, and adapt, pushing the boundaries of what is known and possible. As we continue to unravel the mysteries of the cosmos, our spirit.\"\"\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# download and load all models\n",
|
||||
"preload_models(\n",
|
||||
" text_use_gpu=True,\n",
|
||||
" text_use_small=False,\n",
|
||||
" coarse_use_gpu=True,\n",
|
||||
" coarse_use_small=False,\n",
|
||||
" fine_use_gpu=True,\n",
|
||||
" fine_use_small=False,\n",
|
||||
" codec_use_gpu=True,\n",
|
||||
" force_reload=False,\n",
|
||||
" path=\"models\"\n",
|
||||
")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
|
||||
Reference in New Issue
Block a user