Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 595 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 595 Bytes

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