- copy
.env.exampleto named file.env - put your openai api key in
.envvalueOPENAI_KEY - type
virtualenv venvto create new venv - type
source venv/bin/activateto activity venv - type
pip install -r requirements.txtto 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
