This commit is contained in:
Henk
2023-08-22 14:00:05 +02:00
parent 179c4ad07f
commit b41bf99b55
2 changed files with 0 additions and 2 deletions

View File

@@ -64,7 +64,6 @@ import lupa
# Hack to make the new Horde worker understand its imports...
try:
sys.path.append(os.path.abspath("AI-Horde-Worker"))
print(os.path.abspath("AI-Horde-Worker/"))
except:
pass

View File

@@ -1367,7 +1367,6 @@ class system_settings(settings):
bridge_data.disable_terminal_ui = False
if bridge_data.worker_name == "My Awesome Instance":
bridge_data.worker_name = f"KoboldAI UI Instance #{random.randint(-100000000, 100000000)}"
logger.info(f"Name: {bridge_data.worker_name} on {bridge_data.kai_url}")
worker_module = importlib.import_module("AI-Horde-Worker.worker.workers.scribe")
self._horde_pid = worker_module.ScribeWorker(bridge_data)
new_thread = threading.Thread(target=self._horde_pid.start)