Fixes
This commit is contained in:
parent
692c383552
commit
5f22885e75
|
@ -12,7 +12,21 @@
|
|||
</form>
|
||||
<div id="messages"></div>
|
||||
<script>
|
||||
var ws = new WebSocket("ws://localhost:8000/");
|
||||
var ws;
|
||||
function connectWebSocket() {
|
||||
ws = new WebSocket("ws://localhost:8000/");
|
||||
ws.onopen = function(event) {
|
||||
console.log("Connected to WebSocket server.");
|
||||
};
|
||||
ws.onerror = function(error) {
|
||||
console.log("WebSocket error: ", error);
|
||||
};
|
||||
ws.onclose = function(event) {
|
||||
console.log("WebSocket connection closed. Retrying in 1 second...");
|
||||
setTimeout(connectWebSocket, 1000);
|
||||
};
|
||||
}
|
||||
connectWebSocket();
|
||||
var lastMessageElement = null;
|
||||
ws.onmessage = function (event) {
|
||||
if (lastMessageElement == null) {
|
||||
|
|
|
@ -4,7 +4,6 @@ version = "0.0.1"
|
|||
description = "The python at the heart of the 01."
|
||||
authors = ["Open Interpreter <killian@openinterpreter.com>"]
|
||||
license = "AGPL"
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.11"
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
### Start whisper.cpp and stuff?
|
||||
|
||||
### APP
|
||||
|
||||
open app/index.html
|
||||
# ^ This should be to run it in fullscreen / kiosk mode
|
||||
|
||||
### CORE
|
||||
|
||||
cd core/
|
||||
pip install poetry
|
||||
poetry install
|
||||
poetry run bash start.sh
|
||||
|
||||
### APP
|
||||
|
||||
open app/index.html
|
||||
# ^ This should be to run it in fullscreen / kiosk mode
|
||||
|
|
Loading…
Reference in New Issue