Spaces:
Running
Running
lalashechka
commited on
Commit
•
9fd82e8
1
Parent(s):
9bfa07c
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,6 @@ def flip_text(prompt, negative_prompt, task, steps, sampler, cfg_scale, seed):
|
|
40 |
conn.send(f'{{"data":["{prompt}, 4k photo","[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry",7.5,"(No style)"],"event_data":null,"fn_index":3,"session_hash":""}}')
|
41 |
while True:
|
42 |
status = json.loads(conn.recv())['msg']
|
43 |
-
print(status)
|
44 |
if status == 'estimation':
|
45 |
continue
|
46 |
if status == 'process_starts':
|
|
|
40 |
conn.send(f'{{"data":["{prompt}, 4k photo","[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry",7.5,"(No style)"],"event_data":null,"fn_index":3,"session_hash":""}}')
|
41 |
while True:
|
42 |
status = json.loads(conn.recv())['msg']
|
|
|
43 |
if status == 'estimation':
|
44 |
continue
|
45 |
if status == 'process_starts':
|