Auto-update: Sun Jan 26 11:16:46 PST 2025
This commit is contained in:
parent
6979719950
commit
6d09ffefe9
2 changed files with 19 additions and 0 deletions
|
@ -22,6 +22,7 @@ ollama:
|
|||
llama3.3: "llama3.3"
|
||||
llama3.2: "llama3.2:1b"
|
||||
llava3.2: "llama3.2-vision:11b"
|
||||
deepseek: "deepseek-r1:32b"
|
||||
|
||||
default_model: "llama3.3"
|
||||
vision_model: "llava3.2"
|
||||
|
|
18
llux.sh
Executable file
18
llux.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Create a new tmux session or attach to an existing one with the name "llux"
|
||||
SESSION_NAME="llux"
|
||||
|
||||
# Check if the session already exists
|
||||
if ! tmux has-session -t "$SESSION_NAME"; then
|
||||
# If not, create it and run the python script inside
|
||||
tmux new-session -d -s "$SESSION_NAME" "python /Users/sij/home/workshop/llux/llux.py --debug"
|
||||
else
|
||||
# If the session exists, attach to it and send the command to a new window
|
||||
tmux new-window -t "$SESSION_NAME" "python /Users/sij/home/workshop/llux/llux.py --debug"
|
||||
fi
|
||||
|
||||
# Optionally, you can also detach from the session immediately after creating/attaching to it
|
||||
tmux detach-client -s "$SESSION_NAME"
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue