Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -633,7 +633,7 @@ openai.api_key = st.secrets["OPENAI_KEY"]
|
|
633 |
def openai_response(PROMPT):
|
634 |
response = openai.Image.create(
|
635 |
prompt=PROMPT,
|
636 |
-
n=
|
637 |
size="256x256",
|
638 |
)
|
639 |
return response["data"][0]["url"]
|
|
|
633 |
def openai_response(PROMPT):
|
634 |
response = openai.Image.create(
|
635 |
prompt=PROMPT,
|
636 |
+
n=4,
|
637 |
size="256x256",
|
638 |
)
|
639 |
return response["data"][0]["url"]
|