This application is the MVP of action learning.
pip install -r requirements.txt
brew install postgresql # if havn't install postgresql
brew services run postgresql #run the postgresql
psql -U postgres
# Create db & user
CREATE DATABASE stable_diffusion;
CREATE USER admin WITH PASSWORD 'admin';
GRANT ALL PRIVILEGES ON DATABASE stable_diffusion TO admin;
Create .streamlit/secrets.toml and write your DB and API url inside, like:
DATABASE_URL = "postgresql://admin:admin@localhost/stable_diffusion"
API_URL = "http://localhost:8000"
cd Stable_Diffusition
streamlit run 1_🏠_Home.py
python app.py


