CoolFace
Apppublic

beautiful-code/ai_workflows

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
App README

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