Rebranding of Extras project

This commit is contained in:
SillyLossy
2023-05-09 12:33:16 +03:00
parent 0b37c8bb2a
commit b93bdc4876
3 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@
"source": [
"**Links**<br>\n",
"SillyTavern GitHub: https://github.com/Cohee1207/SillyTavern<br>\n",
"Extensions API GitHub: https://github.com/Cohee1207/TavernAI-extras/<br>\n",
"Extensions API GitHub: https://github.com/Cohee1207/SillyTavern-extras/<br>\n",
"SillyTavern community Discord (support and discussion): https://discord.gg/RZdyAEUPvj<br>\n",
"Contact the maintainer directly: Cohee#1207"
]
@ -241,7 +241,7 @@
"\n",
"\n",
"# ---\n",
"# TavernAI extras\n",
"# SillyTavern extras\n",
"import globals\n",
"globals.extras_url = '(disabled)'\n",
"globals.params = []\n",
@ -264,11 +264,11 @@
"if UseExtrasExtensions:\n",
" def cloneExtras():\n",
" %cd /\n",
" !git clone https://github.com/Cohee1207/TavernAI-extras\n",
" !git clone https://github.com/Cohee1207/SillyTavern-extras\n",
" ii.addTask('clone extras', cloneExtras)\n",
"\n",
" def installRequirements():\n",
" %cd /TavernAI-extras\n",
" %cd /SillyTavern-extras\n",
" !npm install -g localtunnel\n",
" !pip install -r requirements.txt\n",
" !pip install tensorflow==2.11\n",

View File

@ -7,7 +7,7 @@ def runServer():
cmd = f"python server.py {' '.join(globals.params)}"
print(cmd)
extras_process = subprocess.Popen(
cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd='/TavernAI-extras', shell=True)
cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd='/SillyTavern-extras', shell=True)
print('processId:', extras_process.pid)
while True:
line = extras_process.stdout.readline().decode().strip()
@ -30,7 +30,7 @@ def extractUrl():
lines = f.readlines()
for x in range(len(lines)):
if ('your url is: ' in lines[x]):
print('TavernAI Extensions URL:')
print('SillyTavern Extensions URL:')
globals.extras_url = lines[x].split('your url is: ')[1]
print(globals.extras_url)
break

View File

@ -1632,8 +1632,8 @@
<div id="rm_extensions_block" class="drawer-content closedDrawer">
<div class="extensions_block">
<h3>Extensions API:
<a target="_blank" href="https://github.com/SillyLossy/TavernAI-extras">
TavernAI-extras
<a target="_blank" href="https://github.com/Cohee1207/SillyTavern-extras">
SillyTavern-extras
</a>
</h3>
<input id="extensions_url" type="text" class="text_pole" maxlength="250" />