Fix stupid bug

This commit is contained in:
SillyLossy
2023-03-01 20:28:59 +02:00
parent 327063f7fa
commit 9950bdda31

View File

@@ -176,7 +176,7 @@
"extras_process = subprocess.Popen(['python', '/TavernAI-extras/server.py', '--cpu', ShareParam], stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd='/TavernAI-extras')\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 = extras_process.stdout.readline().decode().strip()\n",
" if \"Running on \" in line and Provider != \"Cloudflare\":\n", " if \"Running on \" in line and Provider != \"Cloudflare\":\n",
" print(\"TavernAI Extras URL:\")\n", " print(\"TavernAI Extras URL:\")\n",
" !lt --port 5100\n", " !lt --port 5100\n",