Update colab
This commit is contained in:
parent
af44a63265
commit
dd8deab4e3
|
@ -63,8 +63,6 @@
|
|||
"extras_enable_silero_tts = True #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Enables Microsoft Edge text-to-speech module\n",
|
||||
"extras_enable_edge_tts = True #@param {type:\"boolean\"}\n",
|
||||
"#@markdown (NOT RECOMMENDED) Enables Coqui TTS module\n",
|
||||
"extras_enable_coqui_tts = False #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Enables RVC module\n",
|
||||
"extras_enable_rvc = False #@param {type:\"boolean\"}\n",
|
||||
"#@markdown ***\n",
|
||||
|
@ -84,8 +82,6 @@
|
|||
"#@markdown * ckpt/sd15 - base SD 1.5\n",
|
||||
"#@markdown * stabilityai/stable-diffusion-2-1-base - base SD 2.1\n",
|
||||
"#@markdown ***\n",
|
||||
"#@markdown Enables TalkingHead module\n",
|
||||
"extras_enable_talkinghead = False #@param {type:\"boolean\"}\n",
|
||||
"#@markdown Enables ChromaDB module\n",
|
||||
"extras_enable_chromadb = True #@param {type:\"boolean\"}\n",
|
||||
"\n",
|
||||
|
@ -122,16 +118,10 @@
|
|||
"if extras_enable_whisper_stt:\n",
|
||||
" modules.append('whisper-stt')\n",
|
||||
" params.append(f'--stt-whisper-model-path={whisper_model}')\n",
|
||||
"if extras_enable_talkinghead:\n",
|
||||
" modules.append('talkinghead')\n",
|
||||
" params.append('--talkinghead-gpu')\n",
|
||||
"if extras_enable_rvc:\n",
|
||||
" modules.append('rvc')\n",
|
||||
" params.append('--max-content-length=2000')\n",
|
||||
" params.append('--rvc-save-file')\n",
|
||||
"if extras_enable_coqui_tts:\n",
|
||||
" modules.append('coqui-tts')\n",
|
||||
" params.append('--coqui-gpu')\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"params.append(f'--classification-model={classification_model}')\n",
|
||||
|
@ -154,10 +144,6 @@
|
|||
" print(\"Installing RVC requirements\")\n",
|
||||
" !pip install -r requirements-rvc.txt\n",
|
||||
"\n",
|
||||
"if extras_enable_coqui_tts:\n",
|
||||
" print(\"Installing Coqui TTS requirements\")\n",
|
||||
" !pip install -r requirements-coqui.txt\n",
|
||||
"\n",
|
||||
"# Generate a random API key\n",
|
||||
"api_key = secrets.token_hex(5)\n",
|
||||
"\n",
|
||||
|
|
Loading…
Reference in New Issue