Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -228,9 +228,6 @@ def handle_generate(*_inp):
|
|
228 |
|
229 |
inp[1] = f'The 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' Please add a centered readable large bold title with the exact text: {inp[5]}'
|
233 |
-
|
234 |
print(f"""
|
235 |
|
236 |
Positive: {inp[1]}
|
@@ -241,6 +238,9 @@ def handle_generate(*_inp):
|
|
241 |
|
242 |
pipe_out = pipe_generate(*inp)
|
243 |
|
|
|
|
|
|
|
244 |
name = generate_random_string(12) + ( ".png" if time == 0 else ".gif" )
|
245 |
if inp[4] == 0.0:
|
246 |
pipe_out.save(name)
|
|
|
228 |
|
229 |
inp[1] = f'The 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 |
print(f"""
|
232 |
|
233 |
Positive: {inp[1]}
|
|
|
238 |
|
239 |
pipe_out = pipe_generate(*inp)
|
240 |
|
241 |
+
if inp[5] != "":
|
242 |
+
|
243 |
+
|
244 |
name = generate_random_string(12) + ( ".png" if time == 0 else ".gif" )
|
245 |
if inp[4] == 0.0:
|
246 |
pipe_out.save(name)
|