Skip to content

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

Folders and files

Image for: Folders and files
NameName
Last commit message
Last commit date

Latest commit

Image for: Latest commit
 

History

Image for: History
2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image for: Repository files navigation

Comically Bad Art Generation

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

Setup

Image for: 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

Image for: Run
python -m streamlit run app.py

About

Image for: About

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

Resources

Stars

Watchers

Forks

Releases

Image for: Releases
No releases published

Packages

Image for: Packages 0
No packages published

Languages

Image for: Languages