File size: 514 Bytes
72de3f2
d8cf30c
72de3f2
d8cf30c
72de3f2
 
 
1
2
3
4
5
6
7
echo "Printing Logs"
for file in "/data"/*; do echo "Logs for $file"; cat $file; echo; done

export LOGFILE="/data/log_$(date +'%Y%m%d_%H%M%S').txt"
touch $LOGFILE

./koboldcpp --model model-00001-of-00002.gguf --whispermodel whispermodel.ggml --sdmodel imgmodel.ggml --sdthreads 4 --sdquant --sdclamped --mmproj mmproj.ggml $ADDITIONAL --port 7860 --hordemodelname $MODEL_NAME --hordemaxctx 1 --hordegenlen 1 --preloadstory default.json --chatcompletionsadapter adapter.json --ignoremissing $SECRET | tee $LOGFILE