From 6605ed126fbb011ae2f12d60a7312fbcee6d4bbf Mon Sep 17 00:00:00 2001 From: Patrick_Pluto Date: Mon, 23 Sep 2024 14:46:17 +0200 Subject: [PATCH] WebView --- py/requirements.txt | 3 ++- py/webapp.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 py/webapp.py diff --git a/py/requirements.txt b/py/requirements.txt index bd93ad7..8a79dc1 100644 --- a/py/requirements.txt +++ b/py/requirements.txt @@ -4,4 +4,5 @@ ollama mistralai openai anthropic -pyOpenSSL \ No newline at end of file +pyOpenSSL +pywebview \ No newline at end of file diff --git a/py/webapp.py b/py/webapp.py new file mode 100644 index 0000000..6ad4725 --- /dev/null +++ b/py/webapp.py @@ -0,0 +1,3 @@ +import webview +webview.create_window('Interstellar AI', 'http://localhost:3000') +webview.start()