Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -66,10 +66,10 @@ result = []
|
|
66 |
fast=True
|
67 |
fps=15
|
68 |
time=3
|
69 |
-
width=
|
70 |
-
height=
|
71 |
-
step=
|
72 |
-
accu=7
|
73 |
|
74 |
# ui data
|
75 |
|
@@ -350,8 +350,10 @@ def handle(*inp):
|
|
350 |
return None
|
351 |
|
352 |
if inp[2] != "":
|
353 |
-
inp[2] = f"{inp[2]}
|
354 |
|
|
|
|
|
355 |
_do = ['photographed', 'realistic', 'dynamic poze', 'deep field', 'reasonable', "natural", 'rough', 'best quality', 'focused', "highly detailed"]
|
356 |
if inp[1] != "":
|
357 |
_do.append(f"a new {inp[1]} content in the image")
|
|
|
66 |
fast=True
|
67 |
fps=15
|
68 |
time=3
|
69 |
+
width=896
|
70 |
+
height=896
|
71 |
+
step=25
|
72 |
+
accu=7.5
|
73 |
|
74 |
# ui data
|
75 |
|
|
|
350 |
return None
|
351 |
|
352 |
if inp[2] != "":
|
353 |
+
inp[2] = f", {inp[2]}"
|
354 |
|
355 |
+
inp[2] = f"(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck{inp[2]}"
|
356 |
+
|
357 |
_do = ['photographed', 'realistic', 'dynamic poze', 'deep field', 'reasonable', "natural", 'rough', 'best quality', 'focused', "highly detailed"]
|
358 |
if inp[1] != "":
|
359 |
_do.append(f"a new {inp[1]} content in the image")
|