Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ def infer(p1,p2):
|
|
96 |
name = generate_random_string(12)+".png"
|
97 |
if p1 == "":
|
98 |
_do = 'beautiful, playful, photographed, highly detailed, realistic elements, dynamic poze, deep field, vivid reasonable coloring, rough texture, high sharpness, highres, best quality, focused'
|
99 |
-
|
100 |
_do = f'{p1}, beautiful, playful, photographed, highly detailed, realistic elements, dynamic poze, deep field, vivid reasonable coloring, rough texture, high sharpness, highres, best quality, focused'
|
101 |
else:
|
102 |
_do = f'{p2} reduced {p1}, beautiful, playful, photographed, highly detailed, realistic elements, dynamic poze, deep field, vivid reasonable coloring, rough texture, high sharpness, highres, best quality, focused'
|
|
|
96 |
name = generate_random_string(12)+".png"
|
97 |
if p1 == "":
|
98 |
_do = 'beautiful, playful, photographed, highly detailed, realistic elements, dynamic poze, deep field, vivid reasonable coloring, rough texture, high sharpness, highres, best quality, focused'
|
99 |
+
elif p2 == "":
|
100 |
_do = f'{p1}, beautiful, playful, photographed, highly detailed, realistic elements, dynamic poze, deep field, vivid reasonable coloring, rough texture, high sharpness, highres, best quality, focused'
|
101 |
else:
|
102 |
_do = f'{p2} reduced {p1}, beautiful, playful, photographed, highly detailed, realistic elements, dynamic poze, deep field, vivid reasonable coloring, rough texture, high sharpness, highres, best quality, focused'
|