CoolFace
Apppublic

cdshelat/MorphAI

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
run_app.bat13 linesDownload Raw Back to root
1@echo off2:: Use the Python Launcher to pin Python 3.12 (the env that has Streamlit installed).3:: 'python' alone may resolve to a different version if multiple Pythons are on PATH.4py -3.12 -c "import streamlit" 2>nul5if errorlevel 1 (6    echo ERROR: Streamlit not found in Python 3.12.7    echo Run:  py -3.12 -m pip install -r requirements.txt8    pause9    exit /b 110)11start "" "http://localhost:8501"12py -3.12 -m streamlit run app.py --server.headless true13pause