AezersX
commited on
Commit
·
360ae86
1
Parent(s):
8e8ba08
Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,7 @@ from diffusers import StableDiffusionPipeline
|
|
6 |
import torch
|
7 |
|
8 |
load_dotenv()
|
9 |
-
|
10 |
-
openai.api_key = apikey
|
11 |
-
os.environ['OPENAI_API_KEY'] = apikey
|
12 |
|
13 |
#function to generate AI based images using OpenAI Dall-E
|
14 |
def generate_images_using_openai(text):
|
|
|
6 |
import torch
|
7 |
|
8 |
load_dotenv()
|
9 |
+
os.environ['OPENAI_API_KEY']
|
|
|
|
|
10 |
|
11 |
#function to generate AI based images using OpenAI Dall-E
|
12 |
def generate_images_using_openai(text):
|