Download Kronos/webui/start.sh from GoldenGrapeGentleman1/FinMM-Project-FinMM: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/GoldenGrapeGentleman1/FinMM-Project-FinMM/resolve/main/Kronos/webui/start.sh
- Command line
-
hf download hf://GoldenGrapeGentleman1/FinMM-Project-FinMM/Kronos/webui/start.sh
-
curl -L -o start.sh https://huggingface.co/GoldenGrapeGentleman1/FinMM-Project-FinMM/resolve/main/Kronos/webui/start.sh
1.01 kB
| # Kronos Web UI startup script | |
| echo "π Starting Kronos Web UI..." | |
| echo "================================" | |
| # Check if Python is installed | |
| if ! command -v python3 &> /dev/null; then | |
| echo "β Python3 not installed, please install Python3 first" | |
| exit 1 | |
| fi | |
| # Check if in correct directory | |
| if [ ! -f "app.py" ]; then | |
| echo "β Please run this script in the webui directory" | |
| exit 1 | |
| fi | |
| # Check dependencies | |
| echo "π¦ Checking dependencies..." | |
| if ! python3 -c "import flask, flask_cors, pandas, numpy, plotly" &> /dev/null; then | |
| echo "β οΈ Missing dependencies, installing..." | |
| pip3 install -r requirements.txt | |
| if [ $? -ne 0 ]; then | |
| echo "β Dependencies installation failed" | |
| exit 1 | |
| fi | |
| echo "β Dependencies installation completed" | |
| else | |
| echo "β All dependencies installed" | |
| fi | |
| # Start application | |
| echo "π Starting Web server..." | |
| echo "Access URL: http://localhost:7070" | |
| echo "Press Ctrl+C to stop server" | |
| echo "" | |
| python3 app.py | |