Spaces:
Running
Running
File size: 843 Bytes
cca4a24 |
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 |
#!/bin/bash
# Simple Document Search Startup Script (No Docker Required!)
echo "π Starting Simple Document Search & RAG Chat"
echo "=============================================="
echo ""
echo "β
No Docker required - everything runs in memory!"
echo "β
No external dependencies needed"
echo "β
Pure browser-based AI system"
echo ""
# Check if Python is available
if command -v python3 &> /dev/null; then
PYTHON_CMD="python3"
elif command -v python &> /dev/null; then
PYTHON_CMD="python"
else
echo "β Python is not installed. Please install Python 3."
exit 1
fi
# Start the web server
echo "π Starting web server..."
echo "π Serving files from: $(pwd)"
echo "π Open your browser and navigate to: http://localhost:8000"
echo "π Press Ctrl+C to stop the server"
echo ""
$PYTHON_CMD -m http.server 8000
|