various minor fixes

This commit is contained in:
Concedo 2025-06-08 01:11:42 +08:00
parent 301450b1eb
commit a80dfa5c10
3 changed files with 47 additions and 18 deletions

View file

@ -53,7 +53,7 @@
"ContextSize = 4096 #@param [4096,8192] {allow-input: true}\n",
"FlashAttention = True #@param {type:\"boolean\"}\n",
"Multiplayer = False #@param {type:\"boolean\"}\n",
"DeleteExistingModels = False #@param {type:\"boolean\"}\n",
"DeleteExistingModels = True #@param {type:\"boolean\"}\n",
"FACommand = \"\"\n",
"MPCommand = \"\"\n",
"#@markdown <hr>\n",
@ -146,7 +146,7 @@
"\n",
"if DeleteExistingModels:\n",
" print(\"Deleting all cached models to redownload...\")\n",
" patterns = ['*.gguf', '*.bin']\n",
" patterns = ['*.gguf', '*.bin', '*.ggml']\n",
" for pattern in patterns:\n",
" for file_path in glob.glob(pattern):\n",
" try:\n",