update server

This commit is contained in:
Gokul Mohanarangan
2023-07-18 22:52:09 +05:30
parent b34b8e6a96
commit 44e2f0c7b7

View File

@@ -14,7 +14,7 @@ from gpt4all import GPT4All
from loguru import logger
from whisper_jax import FlaxWhisperPipline
from utils.run_utils import run_in_executor
from utils.run_utils import run_in_executor, config
pcs = set()
relay = MediaRelay()
@@ -28,7 +28,7 @@ RATE = 48000
audio_buffer = AudioFifo()
executor = ThreadPoolExecutor()
transcription_text = ""
llm = GPT4All("/Users/gokulmohanarangan/Library/Application Support/nomic.ai/GPT4All/ggml-vicuna-13b-1.1-q4_2.bin")
llm = GPT4All(config["DEFAULT"]["LLM_PATH"])
def get_title_and_summary():