Skip to content

leokwsw/OpenAI-DALL_E-Gradio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI DALL·E API with Gradio

Start up Flow

  1. copy .env.example to named file .env
  2. put your openai api key in .env value OPENAI_KEY
  3. type virtualenv venv to create new venv
  4. type source venv/bin/activate to activity venv
  5. type pip install -r requirements.txt to install requirements package
  6. wait pip install finish
  7. type python app.py
  8. open your browser and type http://127.0.0.1:7860
  9. the api docs in http://127.0.0.1:7860/?view=api

interface like this Screen