--- title: AI Workflows app_file: ui_main.py sdk: streamlit sdk_version: 1.35.0 pinned: false python_version: 3.11.0 --- ### Initial Setup * Install python using conda by running the following command. `conda create -p venv python==3.11 -y` * Activate conda profile `conda activate ./venv` * Install required packages `./venv/bin/pip install -r requirements.txt` * Copy .env.example to .env and enter the required values. * ### Release process ##### API server * Install flyctl by following instructions mentioned here https://fly.io/docs/flyctl/install/ * Run `fly deploy` to deploy the app. ##### Streamlit UI * Push code to main branch on huggingspace https://huggingface.co/spaces/beautiful-code/ai_workflows ### Running on local * Streamlit app `streamlit run ui_main.py` * FastAPI app `uvicorn endpoints:app --port=8080`