- copy
.env.example
to named file.env
- put your openai api key in
.env
valueOPENAI_KEY
- type
virtualenv venv
to create new venv - type
source venv/bin/activate
to activity venv - type
pip install -r requirements.txt
to install requirements package - wait pip install finish
- type
python app.py
- open your browser and type http://127.0.0.1:7860
- the api docs in http://127.0.0.1:7860/?view=api
-
Notifications
You must be signed in to change notification settings - Fork 1
leokwsw/OpenAI-DALL_E-Gradio
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Use OpenAI DALL·E API with Gradio