mirror of
https://github.com/mudler/LocalAI.git
synced 2026-04-01 21:53:01 -04:00
* feat(realtime): WebRTC support Signed-off-by: Richard Palethorpe <io@richiejp.com> * fix(tracing): Show full LLM opts and deltas Signed-off-by: Richard Palethorpe <io@richiejp.com> --------- Signed-off-by: Richard Palethorpe <io@richiejp.com>
16 lines
323 B
Bash
16 lines
323 B
Bash
#!/bin/bash
|
|
set -ex
|
|
|
|
CURDIR=$(dirname "$(realpath $0)")
|
|
|
|
export LD_LIBRARY_PATH=$CURDIR/lib:$LD_LIBRARY_PATH
|
|
export OPUS_SHIM_LIBRARY=$CURDIR/lib/libopusshim.so
|
|
|
|
# If there is a lib/ld.so, use it
|
|
if [ -f $CURDIR/lib/ld.so ]; then
|
|
echo "Using lib/ld.so"
|
|
exec $CURDIR/lib/ld.so $CURDIR/opus "$@"
|
|
fi
|
|
|
|
exec $CURDIR/opus "$@"
|