Skip to content

craigsdennis/comically-bad-art-workers-ai-streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comically Bad Art Generation

This app uses the wonderful Python UI Framework Streamlit and Cloudflare Workers AI.

Setup

Sign up for Cloudflare if you haven't yet already...its free and like c'mon. Head over to the Workers AI section in your dash. On the Overview page there is a button that says use the REST API, which this demo is doing. Get your values and copy .streamlit/secrets.toml.example to .streamlit/secrets.toml

cp .streamlit/secrets.toml.example .streamlit/secrets.toml

Put your CLOUDFLARE_ACCOUNT_ID and the api token you generated into CLOUDFLARE_API_TOKEN

python -m venv venv
source ./venv/bin/activate
python -m pip install -r requirements.txt

Run

python -m streamlit run app.py

About

A Streamlit and Workers AI mashup to make some intentionally bad art

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages