Compare commits
2 Commits
97033b478d
...
05bf0e2796
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05bf0e2796 | ||
|
|
083e01e815 |
@@ -32,7 +32,7 @@ nl=$'\n'
|
|||||||
(
|
(
|
||||||
echo '<|begin_of_text|><|start_header_id|>system<|end_header_id|>'
|
echo '<|begin_of_text|><|start_header_id|>system<|end_header_id|>'
|
||||||
echo "Give a short, accurate and fun caption for the picture. Give a list of 9 trending hashtags that suits with the given description. Give only the caption and hashtags list, don't say anything else. Output must be made in French. Based on following image description :"
|
echo "Give a short, accurate and fun caption for the picture. Give a list of 9 trending hashtags that suits with the given description. Give only the caption and hashtags list, don't say anything else. Output must be made in French. Based on following image description :"
|
||||||
$LLAMAFILES_PATH/llava-v1.5-7b-q4.llamafile --temp 0.2 --image "$imagePath" -e -p "### User: Describe the image as accurately and in as much detail as possible. Don't try to make up details or information you don't know. Don't hesitate to make a description as log as possible to best describe the picture.\n### Assistant:" --no-display-prompt 2>/dev/null
|
$LLAMAFILES_PATH/llava-v1.5-7b-q4.llamafile --temp 0.2 --image "$imagePath" -e -p "### User: Describe the image as accurately and in as much detail as possible. Don't try to make up details or information you don't know. Don't hesitate to make a description as long as possible to best describe the picture.\n### Assistant:" --no-display-prompt 2>/dev/null
|
||||||
echo '<|eot_id|>{{history}}<|start_header_id|>{{char}}<|end_header_id|>'
|
echo '<|eot_id|>{{history}}<|start_header_id|>{{char}}<|end_header_id|>'
|
||||||
) | $LLAMAFILES_PATH/Meta-Llama-3-8B-Instruct.Q5_K_M.llamafile -ngl 9999 \
|
) | $LLAMAFILES_PATH/Meta-Llama-3-8B-Instruct.Q5_K_M.llamafile -ngl 9999 \
|
||||||
-f /dev/stdin \
|
-f /dev/stdin \
|
||||||
|
|||||||
31
Utils/collima-stop-start.sh
Executable file
31
Utils/collima-stop-start.sh
Executable file
@@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Required parameters:
|
||||||
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Colima Stop Start
|
||||||
|
# @raycast.mode silent
|
||||||
|
# @raycast.packageName MrRaph_
|
||||||
|
#
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon 🌎
|
||||||
|
# @raycast.argument1 { "type": "text", "placeholder": "stop/start" }
|
||||||
|
#
|
||||||
|
# Documentation:
|
||||||
|
# @raycast.description This script stops or starts Colima
|
||||||
|
# @raycast.author MrRaph_
|
||||||
|
# @raycast.authorURL https://git.mrraph.fr
|
||||||
|
|
||||||
|
message="Error"
|
||||||
|
|
||||||
|
case ${1} in
|
||||||
|
start)
|
||||||
|
colima start
|
||||||
|
message="Colima Started !"
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
colima stop
|
||||||
|
message="Colima Stopped !"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo $message
|
||||||
Reference in New Issue
Block a user