From a9196c6f2a891eacb032e2cf86be779d2375b7db Mon Sep 17 00:00:00 2001 From: killian <63927363+KillianLucas@users.noreply.github.com> Date: Sat, 3 Feb 2024 20:09:01 -0800 Subject: [PATCH] start script --- OS/01/requirements.txt | 1 - OS/01/{start_linux.sh => start.sh} | 6 +++-- OS/01/start_osx.sh | 37 ------------------------------ 3 files changed, 4 insertions(+), 40 deletions(-) rename OS/01/{start_linux.sh => start.sh} (79%) delete mode 100755 OS/01/start_osx.sh diff --git a/OS/01/requirements.txt b/OS/01/requirements.txt index bfb61e6..a341655 100644 --- a/OS/01/requirements.txt +++ b/OS/01/requirements.txt @@ -2,7 +2,6 @@ git+https://github.com/KillianLucas/open-interpreter.git asyncio pyaudio pynput -redis fastapi uvicorn websockets diff --git a/OS/01/start_linux.sh b/OS/01/start.sh similarity index 79% rename from OS/01/start_linux.sh rename to OS/01/start.sh index 0b60c83..f0d693d 100755 --- a/OS/01/start_linux.sh +++ b/OS/01/start.sh @@ -2,8 +2,10 @@ # INSTALL REQUIREMENTS -sudo apt-get update -sudo apt-get install redis-server +if [[ "$OSTYPE" == "darwin"* ]]; then + brew update + brew install portaudio ffmpeg +fi pip install -r requirements.txt ### COMPUTER diff --git a/OS/01/start_osx.sh b/OS/01/start_osx.sh deleted file mode 100755 index 52fb432..0000000 --- a/OS/01/start_osx.sh +++ /dev/null @@ -1,37 +0,0 @@ -### SETUP - -# INSTALL REQUIREMENTS - -brew update -brew install portaudio ffmpeg -pip install -r requirements.txt - -### COMPUTER - -# START KERNEL WATCHER - -python computer/kernel_watcher.py & - -# START RUN ENDPOINT - -python computer/run.py & - -# START SST AND TTS SERVICES - -# (todo) -# (i think we should start with hosted services) - -# START LLM - -# (disabled, we'll start with hosted services) -# python core/llm/start.py & - -# START ASSISTANT - -python assistant/assistant.py & - -### USER - -# START USER - -python user/user.py & \ No newline at end of file