Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -219,24 +219,23 @@ def handle_generate(*_inp):
|
|
219 |
inp[2] = translate(inp[2],"english")
|
220 |
|
221 |
if inp[2] != "":
|
222 |
-
inp[2] = "
|
223 |
|
224 |
-
inp[2] = f"
|
225 |
|
226 |
if inp[1] != "":
|
227 |
-
inp[1] = "
|
228 |
|
229 |
-
inp[1] = f'
|
230 |
|
231 |
if inp[5] != "":
|
232 |
-
inp[1] += f'
|
233 |
|
234 |
print(f"""
|
235 |
|
236 |
-
|
237 |
-
|
238 |
-
{inp[2]}
|
239 |
-
- - - -
|
240 |
|
241 |
""")
|
242 |
|
|
|
219 |
inp[2] = translate(inp[2],"english")
|
220 |
|
221 |
if inp[2] != "":
|
222 |
+
inp[2] = " which is related to: " + inp[2] + "."
|
223 |
|
224 |
+
inp[2] = f"A faked and errored and dreamy and unreal and off topic and pixelated and deformed iris and deformed pupils and semi-realistic and cgi and 3d and render and sketch and cartoon and drawing and anime and cropped and out of frame and worst quality and low quality and jpeg artifacts and ugly and duplicate and weird and morbid and mutilated and extra fingers and mutated hands and poorly drawn hands and poorly drawn face and mutation and deformed and blurry and dehydrated and bad anatomy and bad proportions and extra limbs and cloned face and disfigured and unspecified and gross and proportions and malformed limbs and missing arms and missing legs and extra arms and extra legs and fused fingers and too many fingers and long neck content{inp[2]}"
|
225 |
|
226 |
if inp[1] != "":
|
227 |
+
inp[1] = " which is related to: " + inp[1] + "."
|
228 |
|
229 |
+
inp[1] = f'A content which is photographed and realistic and true and genuine and dynamic poze and authentic and deep field and reasonable and natural and best quality and focused and highly detailed content{inp[1]}'
|
230 |
|
231 |
if inp[5] != "":
|
232 |
+
inp[1] += f' Add a centered readable large bold title which says: {inp[5]}'
|
233 |
|
234 |
print(f"""
|
235 |
|
236 |
+
Positive: {inp[1]}
|
237 |
+
|
238 |
+
Negative: {inp[2]}
|
|
|
239 |
|
240 |
""")
|
241 |
|