`pip install poetry` + Relative import fix

This commit is contained in:
killian 2024-01-27 20:35:51 -08:00
parent 3beba042d4
commit a1382dd739
2 changed files with 4 additions and 10 deletions

View File

@ -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

View File

@ -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