Update app.py
Browse files
app.py
CHANGED
@@ -6,13 +6,10 @@ import requests
|
|
6 |
#from io import BytesIO
|
7 |
import os
|
8 |
|
9 |
-
api_key = os.environ.get("api_key")
|
10 |
|
11 |
-
#model_engine = "text-davinci-002"
|
12 |
-
#diffusion_model = "image-alpha-001"
|
13 |
|
14 |
def generate_text_descriptions(concept):
|
15 |
-
api_key = api_key
|
16 |
|
17 |
concept = concept
|
18 |
user_id = "user_123" # Unique ID used to track conversation state
|
|
|
6 |
#from io import BytesIO
|
7 |
import os
|
8 |
|
|
|
9 |
|
|
|
|
|
10 |
|
11 |
def generate_text_descriptions(concept):
|
12 |
+
api_key = os.environ.get("api_key")
|
13 |
|
14 |
concept = concept
|
15 |
user_id = "user_123" # Unique ID used to track conversation state
|