A playground for DALL-E enthusiasts to tinker with the open-source version of OpenAI's DALL-E, based on DALL-E Mini.
https://user-images.githubusercontent.com/6180201/136710500-8bb01b4c-5741-4007-a8ea-e18ba5895649.mp4
You can tinker with the DALL-E playground using a Github-hosted frontend. Follow these steps:
your url is: https://XXXX.loca.lt
--> DALL-E Server is up and running!
backendUrl
query parameter should be the url from the previous stepGeneral note: while it is possible to run the DALL-E Mini backend on the free tier of Google Colab, generating more than 1-2 images would take more than 1min, which will result in a frontend timeout. Consider upgrading to Colab Pro or run the backend notebook on your stronger ML machine (e.g. AWS EC2).
DALL-E Mega is substianlly more capable than DALL-E Mini and therefore generates higher fidelity images. If you have the computing power--either through a Google Colab Pro+ subcription or by having a strong local machine, uncomment this line before running the backend.
Follow these steps in case you'd like to clone and run the DALL-E playground locally:
cd backend && python3 -m venv ENV_NAME
pip install -r requirements.txt
python app.py 8080
(you can change from 8080 to your own port)cd interface && npm install
and run
it npm start
docker-compose up
, add -d
to docker-compose up
if you'd like to run it in the backgroundCopy backend's url from step 2 and paste it in the backend's url input within the web app.
webapp at http://localhost:3000/dalle-playground
This repo is a full-stack flavour of Boris Dayma's DALL-E Mini repository.