This is a game that leverages the weirdness of the images generated by CLIP.
The idea is that since the images generated are quite abstract and hard to decipher, it makes a fun game to try and guess the prompt that originally led the neural network to generate the image.
- Add an environment variable
DATABASE_URI
with the connection string from the Heroku Postgres Database. Make sure to change thepostgres://...
at the beginning topostgresql://...
- Run
pip install -r requirements.txt
to install all dependencies. - Run
python wsgi.py
from the root of this repository to start the Flask server.
- For the web scraping scripts, look here
- For the website components, see the app directory
- For notebooks that perform image generations, check out the original notebooks by Ryan Murdock. (we use two modules that build around the models from those notebooks)
- To see the code and parameters we are using to perform image generation, see
gendata.py
- Scripts used to load data into our database can be found in the db directoy