mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update extras Colab
This commit is contained in:
@@ -173,7 +173,7 @@
|
|||||||
"!git clone https://github.com/SillyLossy/TavernAI-extras\n",
|
"!git clone https://github.com/SillyLossy/TavernAI-extras\n",
|
||||||
"%cd TavernAI-extras\n",
|
"%cd TavernAI-extras\n",
|
||||||
"!pip install -r requirements.txt\n",
|
"!pip install -r requirements.txt\n",
|
||||||
"extras_process = subprocess.Popen(['python', 'server.py', '--cpu', ShareParam], stdout=subprocess.PIPE, stderr=subprocess.PIPE)\n",
|
"extras_process = subprocess.Popen(['python', '/TavernAI-extras/server.py', '--cpu', ShareParam], stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd='/TavernAI-extras')\n",
|
||||||
"\n",
|
"\n",
|
||||||
"while True:\n",
|
"while True:\n",
|
||||||
" line = p.stdout.readline().decode().strip()\n",
|
" line = p.stdout.readline().decode().strip()\n",
|
||||||
|
Reference in New Issue
Block a user