Updated code to use local ollama only.
This commit is contained in:
14
scripts/sql-ai-gui
Executable file
14
scripts/sql-ai-gui
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
APP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
|
||||
# Wayland bevorzugen (Hyprland)
|
||||
export QT_QPA_PLATFORM="${QT_QPA_PLATFORM:-wayland}"
|
||||
|
||||
# Optional: Wenn du einen venv nutzt
|
||||
if [[ -x "$APP_DIR/.venv/bin/python" ]]; then
|
||||
exec "$APP_DIR/.venv/bin/python" "$APP_DIR/sql_ai_gui.py"
|
||||
else
|
||||
exec python "$APP_DIR/sql_ai_gui.py"
|
||||
fi
|
||||
Reference in New Issue
Block a user