Spaces:
Runtime error
Runtime error
File size: 528 Bytes
810c51b 9778c3b 810c51b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
@echo off
rem Define the name of your virtual environment
set ENV_NAME=myenv
rem Check if the virtual environment folder exists
if not exist %ENV_NAME% (
rem Create a new virtual environment
python -m venv %ENV_NAME%
)
rem Activate the virtual environment
call %ENV_NAME%\Scripts\activate
rem Install the required packages from requirements.txt
python -m pip install -r requirements.txt
rem Run your Streamlit application
python -m streamlit run agent_llama_ui.py
rem Deactivate the virtual environment
deactivate
|