Team Ai
Apppublic

beautiful-code/ai_workflows

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
README.md30 linesDownload Raw Back to root
1---2title: AI Workflows3app_file: ui_main.py4sdk: streamlit5sdk_version: 1.35.06pinned: false7python_version: 3.11.08---9 10### Initial Setup11* Install python using conda by running the following command. `conda create -p venv python==3.11 -y`12* Activate conda profile `conda activate ./venv`13* Install required packages `./venv/bin/pip install -r requirements.txt`14* Copy .env.example to .env and enter the required values.15*16 17### Release process18##### API server19* Install flyctl by following instructions mentioned here https://fly.io/docs/flyctl/install/20* Run `fly deploy` to deploy the app.21 22 23##### Streamlit UI24* Push code to main branch on huggingspace https://huggingface.co/spaces/beautiful-code/ai_workflows25 26 27### Running on local28* Streamlit app `streamlit run ui_main.py`29* FastAPI app `uvicorn endpoints:app --port=8080`30