Yaron Koresh commited on
Commit
a89f578
·
verified ·
1 Parent(s): 46822ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- else if 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'
 
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'