lalashechka commited on
Commit
5fc0193
·
1 Parent(s): 9b9ddaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -56,6 +56,7 @@ def flip_text(prompt, negative_prompt, task, steps, sampler, cfg_scale, seed):
56
  return photo
57
  except:
58
  print("n_2")
 
59
  with closing(create_connection(f"{url_sd4}", timeout=60)) as conn:
60
  conn.send('{"fn_index":0,"session_hash":""}')
61
  conn.send(f'{{"data":["{prompt}","[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry","dreamshaperXL10_alpha2.safetensors [c8afe2ef]",30,"DPM++ 2M Karras",7,1024,1024,-1],"event_data":null,"fn_index":0,"session_hash":""}}')
 
56
  return photo
57
  except:
58
  print("n_2")
59
+ print(url_sd4)
60
  with closing(create_connection(f"{url_sd4}", timeout=60)) as conn:
61
  conn.send('{"fn_index":0,"session_hash":""}')
62
  conn.send(f'{{"data":["{prompt}","[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry","dreamshaperXL10_alpha2.safetensors [c8afe2ef]",30,"DPM++ 2M Karras",7,1024,1024,-1],"event_data":null,"fn_index":0,"session_hash":""}}')