iandennismiller
commited on
Commit
•
5c8acab
1
Parent(s):
7a3048f
empty arg
Browse files- bin/llama-menu.sh +2 -4
bin/llama-menu.sh
CHANGED
@@ -1,13 +1,11 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
-
clear
|
4 |
-
|
5 |
CHOICES=$(cd ~/.ai/models/llama && find . -name "*.gguf")
|
6 |
SELECTED=$(echo "$CHOICES" | fzf --reverse --border --ansi)
|
7 |
|
8 |
if [[ -z "$SELECTED" ]]; then
|
9 |
-
|
10 |
fi
|
11 |
|
12 |
-
echo "Selected: $SELECTED"
|
13 |
llama.sh "$SELECTED" chatml 2048 0.8
|
|
|
1 |
#!/bin/bash
|
2 |
|
|
|
|
|
3 |
CHOICES=$(cd ~/.ai/models/llama && find . -name "*.gguf")
|
4 |
SELECTED=$(echo "$CHOICES" | fzf --reverse --border --ansi)
|
5 |
|
6 |
if [[ -z "$SELECTED" ]]; then
|
7 |
+
exit
|
8 |
fi
|
9 |
|
10 |
+
echo "Selected: '$SELECTED'"
|
11 |
llama.sh "$SELECTED" chatml 2048 0.8
|