Spaces:
Sleeping
Sleeping
| @echo off | |
| REM 1) Change into the folder this .bat lives in | |
| cd /d "%~dp0" | |
| REM 2) Activate the virtual environment in this folder | |
| REM (Assuming the venv folder is named ".venv") | |
| call .venv\Scripts\activate.bat | |
| REM 3) Launch Streamlit (it's now on the PATH from the venv) | |
| start "" streamlit run app.py --server.address=127.0.0.1 --server.port=8032 | |
| REM 4) Give Streamlit a few seconds to start | |
| timeout /t 5 >nul | |
| REM 5) Open Google Chrome to the app |