Spaces:
Running
Running
| # 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 | |