Minor colab changes

This commit is contained in:
oobabooga 2023-10-22 08:44:05 -07:00
parent 6a61158adf
commit 05741821a5

View File

@ -56,7 +56,6 @@
"import torch\n", "import torch\n",
"from pathlib import Path\n", "from pathlib import Path\n",
"\n", "\n",
"#\n",
"if Path.cwd().name != 'text-generation-webui':\n", "if Path.cwd().name != 'text-generation-webui':\n",
" print(\"Installing the webui...\")\n", " print(\"Installing the webui...\")\n",
"\n", "\n",
@ -79,7 +78,7 @@
" !pip install -r extensions/api/requirements.txt --upgrade\n", " !pip install -r extensions/api/requirements.txt --upgrade\n",
" !pip install -r temp_requirements.txt --upgrade\n", " !pip install -r temp_requirements.txt --upgrade\n",
"\n", "\n",
" print(\"\\033[1;32;1m\\n --> If you see a warning about \\\"previously imported packages\\\", just ignore it.\\n\\033[0;37;0m\")\n", " print(\"\\033[1;32;1m\\n --> If you see a warning about \\\"previously imported packages\\\", just ignore it.\\n\\033[0;37;0m\")",
" print(\"\\033[1;32;1m\\n --> There is no need to restart the runtime.\\n\\033[0;37;0m\")\n", " print(\"\\033[1;32;1m\\n --> There is no need to restart the runtime.\\n\\033[0;37;0m\")\n",
"\n", "\n",
" try:\n", " try:\n",