- This is jank.
- Modify setup_model.sh to change the AI model in use. If you change the model, you may need to delete the "ollama_data" folder.
- This setup assumes that you're using an Nvidia GPU and have the Nvidia Container Toolkit setup on the host OS.
- Steps to running this:
- Download files from the gist to a folder.
- Open a terminal to that folder, and run
docker-compose up
- After everything is running, the web UI should be available on http://localhost:3000
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import subprocess | |
from datetime import datetime | |
from tabulate import tabulate | |
# Dictionary to store the 'Stopping' event timestamps | |
stopping_events = {} | |
# Dictionary to store the elapsed time for each service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import pulsectl | |
import dbus | |
import time | |
def show_notification(title, message, icon_name): | |
""" | |
Show a KDE desktop notification using D-Bus directly. |
OlderNewer