Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def infer(p1,p2):
|
|
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'{p1} (
|
103 |
output = Piper(_do)
|
104 |
if output == "":
|
105 |
return output
|
|
|
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'{p1}, ({p2}:False), beautiful, playful, photographed, highly detailed, realistic elements, dynamic poze, deep field, vivid reasonable coloring, rough texture, high sharpness, highres, best quality, focused'
|
103 |
output = Piper(_do)
|
104 |
if output == "":
|
105 |
return output
|