From a1382dd739c678cdab2ef65e5f0cd42106a7ee24 Mon Sep 17 00:00:00 2001 From: killian <63927363+KillianLucas@users.noreply.github.com> Date: Sat, 27 Jan 2024 20:35:51 -0800 Subject: [PATCH] `pip install poetry` + Relative import fix --- OS/01/core/interpreter/start.py | 2 +- OS/01/start.sh | 12 +++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/OS/01/core/interpreter/start.py b/OS/01/core/interpreter/start.py index d19a6ed..7eebcbb 100644 --- a/OS/01/core/interpreter/start.py +++ b/OS/01/core/interpreter/start.py @@ -2,7 +2,7 @@ Responsible for configuring an interpreter, then using main.py to serve it at "/". """ -from .main import main +from main import main from interpreter import interpreter import os import glob diff --git a/OS/01/start.sh b/OS/01/start.sh index c227b24..9eb1bf9 100644 --- a/OS/01/start.sh +++ b/OS/01/start.sh @@ -1,19 +1,13 @@ -### Install Chromium if not already installed -if ! command -v chromium-browser &> /dev/null -then - apt-get install chromium-browser -fi - ### APP -# Dynamically get path to chrome executable and use it here -CHROME_PATH=$(which chromium-browser) -$CHROME_PATH --kiosk ----app=file:///app/index.html +open app/index.html +# ^ This should be to run it in fullscreen / kiosk mode ### Start whisper.cpp and stuff? ### CORE cd core/ +pip install poetry poetry install poetry run bash start.sh