Spaces:
Sleeping
Sleeping
Bobby
commited on
Commit
·
92737a2
1
Parent(s):
bf31963
ui
Browse files
app.py
CHANGED
|
@@ -357,7 +357,7 @@ def process_image(
|
|
| 357 |
image_resolution=image_resolution,
|
| 358 |
detect_resolution=preprocess_resolution,
|
| 359 |
)
|
| 360 |
-
if style_selection != "None":
|
| 361 |
prompt = apply_style(style_selection)
|
| 362 |
|
| 363 |
custom_prompt=str(get_prompt(prompt, a_prompt))
|
|
|
|
| 357 |
image_resolution=image_resolution,
|
| 358 |
detect_resolution=preprocess_resolution,
|
| 359 |
)
|
| 360 |
+
if style_selection != "None" or style_selection != "":
|
| 361 |
prompt = apply_style(style_selection)
|
| 362 |
|
| 363 |
custom_prompt=str(get_prompt(prompt, a_prompt))
|