Yaron Koresh commited on
Commit
73b6943
·
verified ·
1 Parent(s): 01cfb27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -58,7 +58,7 @@ time=1
58
  width=384
59
  height=768
60
  step = 25
61
- accu=4
62
 
63
  css="""
64
  input, input::placeholder {
@@ -190,10 +190,10 @@ def infer(pm):
190
  name = generate_random_string(12)+".png"
191
  neg = pm["n"]
192
 
193
- _do = ['beautiful', 'playful', 'photographed', 'realistic', 'dynamic poze', 'deep field', 'reasonable coloring', 'rough texture', 'best quality', 'focused']
194
  if p1 != "":
195
- _do.append(f'{p1}')
196
- posi = " ".join(_do)
197
 
198
  if pm["i"] == None:
199
  return None
 
58
  width=384
59
  height=768
60
  step = 25
61
+ accu=10
62
 
63
  css="""
64
  input, input::placeholder {
 
190
  name = generate_random_string(12)+".png"
191
  neg = pm["n"]
192
 
193
+ _do = ['beautiful', 'photographed', 'realistic', 'dynamic poze', 'deep field', 'reasonable coloring', 'rough texture', 'best quality', 'focused']
194
  if p1 != "":
195
+ _do.append(p1)
196
+ posi = ", ".join(_do)
197
 
198
  if pm["i"] == None:
199
  return None