Spaces:
Runtime error
Runtime error
File size: 831 Bytes
2edf2fb c045946 778e9cd 3bbe965 128ff39 3bbe965 61e74b7 778e9cd 2edf2fb b121930 ca66c69 2edf2fb 63b7090 2edf2fb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
#!/bin/bash
echo "Current directory: $(pwd)"
echo "Current path: $PATH"
# Specify the starting directory (e.g., root or home)
start_directory="../"
# Use find to locate 'uv'
found=$(find "$start_directory" -name "uv" 2>/dev/null)
if [ -n "$found" ]; then
echo "'uv' found at:"
echo "$found"
else
echo "'uv' not found in $start_directory or its subdirectories"
fi
directory = "/"
# directory="../root/.local/bin"
if [ -d "$directory" ];
then
echo "Directory exists: $directory"
echo "Files in $directory:"
find "$directory" -type f
else
echo "Directory does not exist: $directory"
fi
# Start Qdrant in the background
echo "Starting Qdrant server..."
/qdrant/qdrant &
# Run my chainlit app using uv
echo "Starting Chainlit application..."
uv run chainlit run app.py --host 0.0.0.0 --port 7860
|