Skip to content

Application allowing users to input prompts, receive images back and create products with these.

Notifications You must be signed in to change notification settings

colin-openai/dalle-print

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DALL-E Print

The purpose of this project is to build a basic ecommerce platform that enables users to receive user prompts, generate images based on those prompts, and then create physical products with the results.

To run the demo you need to have a Printful account (details below), and I'd suggest logging in in another tab prior to the demo.

Prequisites:

Environment Variables This application requires you to have set the below variables in your OS:

  • OPENAI_API_KEY
  • PRINTFUL_API_KEY

Instructions

  • Install the requirements.txt file using pip install -r requirements.txt
  • Navigate to src/
  • Run streamlit run dalle_print.py

Other Demos Depending on your audience you may want to use one of the other formats for this demo, which I created when doing initial discovery

  • Dall-E Print.ipynb: Notebook containing most of the code that informed the functions and some experiments such as using the Dall-E Variations endpoint than didn't make it into the final version
  • main.py: Command-line version of the demo

About

Application allowing users to input prompts, receive images back and create products with these.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.8%
  • Python 0.2%