From b76b66c733414378d95240dab31b5d113d8ab92d Mon Sep 17 00:00:00 2001 From: Tom Chapin Date: Sat, 3 Feb 2024 15:05:34 -0800 Subject: [PATCH 1/2] Fixing requirements --- OS/01/requirements.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OS/01/requirements.txt b/OS/01/requirements.txt index 4a7cc7b..adc928a 100644 --- a/OS/01/requirements.txt +++ b/OS/01/requirements.txt @@ -1,4 +1,4 @@ -pip install git+https://github.com/KillianLucas/open-interpreter.git -pip install redis -pip install fastapi -pip install uvicorn +open-interpreter==0.2.0 +redis==5.0.1 +fastapi==0.109.1 +uvicorn==0.27.0.post1 From 161abb14d12673fbe64a2275a9a1a5d308dcd369 Mon Sep 17 00:00:00 2001 From: Tom Chapin Date: Sat, 3 Feb 2024 15:05:52 -0800 Subject: [PATCH 2/2] creating separate start scripts for linux vs osx --- OS/01/{start.sh => start_linux.sh} | 2 +- OS/01/start_osx.sh | 47 ++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) rename OS/01/{start.sh => start_linux.sh} (91%) mode change 100644 => 100755 create mode 100755 OS/01/start_osx.sh diff --git a/OS/01/start.sh b/OS/01/start_linux.sh old mode 100644 new mode 100755 similarity index 91% rename from OS/01/start.sh rename to OS/01/start_linux.sh index 9689c4b..f73c055 --- a/OS/01/start.sh +++ b/OS/01/start_linux.sh @@ -16,7 +16,7 @@ redis-cli -h localhost -p 6379 rpush to_core "" # START KERNEL WATCHER -python core/kernel_watcher.py & +python core/kernel_watch.py & # START SST AND TTS SERVICES diff --git a/OS/01/start_osx.sh b/OS/01/start_osx.sh new file mode 100755 index 0000000..43dba03 --- /dev/null +++ b/OS/01/start_osx.sh @@ -0,0 +1,47 @@ +### SETUP + +# INSTALL REQUIREMENTS + +brew update +brew install redis +pip install -r requirements.txt + +# START REDIS + +redis-server & + +redis-cli -h localhost -p 6379 rpush to_interface "" +redis-cli -h localhost -p 6379 rpush to_core "" + + +### CORE + +# START KERNEL WATCHER + +python core/kernel_watcher.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 CORE + +python core/start_core.py & + + +### INTERFACE + +# START INTERFACE + +python interface/interface.py & + +# START DISPLAY + +# (this should be changed to run it in fullscreen / kiosk mode) +open interface/display.html \ No newline at end of file