Spaces:
Runtime error
Runtime error
Masa-digital-art
commited on
Commit
·
09ba310
1
Parent(s):
b5b39e4
Update app.py
Browse files
app.py
CHANGED
@@ -102,11 +102,11 @@ class OpenAI:
|
|
102 |
|
103 |
content = result["choices"][0]["message"]["content"].strip()
|
104 |
|
105 |
-
visualize_prompt = content.split("
|
106 |
|
107 |
answers = stability_api.generate(
|
108 |
-
prompt=("high quality illustlation,Stunning detail, crisp images, high-contrast images, dynamic angles, cinematic lighting, sharp focus,
|
109 |
-
steps=
|
110 |
width=768,
|
111 |
height=512,
|
112 |
)
|
|
|
102 |
|
103 |
content = result["choices"][0]["message"]["content"].strip()
|
104 |
|
105 |
+
visualize_prompt = content.split("## Prompt for Visual Expression\n\n")[1]
|
106 |
|
107 |
answers = stability_api.generate(
|
108 |
+
prompt=("high quality illustlation, Stunning detail, crisp images, high-contrast images, dynamic angles, cinematic lighting, sharp focus, fantastic colors, impressive shading, movie scene, taken with a cinema lens, images of impressive events" + visualize_prompt),
|
109 |
+
steps=25,
|
110 |
width=768,
|
111 |
height=512,
|
112 |
)
|