Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -223,14 +223,14 @@ def handle_generate(*_inp):
|
|
223 |
inp[2] = translate(inp[2],"english")
|
224 |
|
225 |
if inp[2] != "":
|
226 |
-
inp[2] = "
|
227 |
|
228 |
-
inp[2] = f"The content which is faked
|
229 |
|
230 |
if inp[1] != "":
|
231 |
-
inp[1] = "
|
232 |
|
233 |
-
inp[1] = f'The content which is photographed
|
234 |
|
235 |
print(f"""
|
236 |
|
|
|
223 |
inp[2] = translate(inp[2],"english")
|
224 |
|
225 |
if inp[2] != "":
|
226 |
+
inp[2] = ", related to: " + inp[2] + "."
|
227 |
|
228 |
+
inp[2] = f"The content which is faked, errored, unreal, off topic, pixelated, deformed, and semi-realistic, cgi, 3d, sketch, cartoon, drawing, anime, cropped, out of frame, low quality, textual, jpeg artifacts, ugly, duplicated, weird, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutations, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck content{inp[2]}"
|
229 |
|
230 |
if inp[1] != "":
|
231 |
+
inp[1] = ", related to: " + inp[1] + "."
|
232 |
|
233 |
+
inp[1] = f'The content which is photographed, realistic, true, genuine, dynamic poze, authentic, deep field, reasonable, natural, best quality, focused, highly detailed content{inp[1]}'
|
234 |
|
235 |
print(f"""
|
236 |
|