Uthar commited on
Commit
34363e4
·
verified ·
1 Parent(s): dcb3912

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
  from threading import RLock
7
  from datetime import datetime
8
 
9
- preSetPrompt = "tall slender athletic 18+ caucasian woman. gorgeous face. perfect small tits. short hair. open jeans. shredded ripped torn shirt. coy smile. explicit. artistic. photorealistic. f1.4"
10
  negPreSetPrompt = "[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness"
11
 
12
  lock = RLock()
@@ -87,7 +87,7 @@ async def infer(model_str, prompt, nprompt="", height=0, width=0, steps=0, cfg=0
87
  if task.done() and result is not None and not isinstance(result, tuple):
88
  with lock:
89
  png_path = model_str.replace("/", "_") + " - " + get_current_time() + "_" + str(theSeed) + ".png"
90
- lnk_output=png_path
91
  image = save_image(result, png_path, model_str, prompt, nprompt, height, width, steps, cfg, theSeed)
92
  return image
93
  return None
 
6
  from threading import RLock
7
  from datetime import datetime
8
 
9
+ preSetPrompt = "tall slender athletic 18+ caucasian woman. gorgeous face. perfect small tits. short hair. sassy smile. shredded ripped torn shirt. unbuttoned jeans. explicit. artistic. photorealistic. f1.4"
10
  negPreSetPrompt = "[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness"
11
 
12
  lock = RLock()
 
87
  if task.done() and result is not None and not isinstance(result, tuple):
88
  with lock:
89
  png_path = model_str.replace("/", "_") + " - " + get_current_time() + "_" + str(theSeed) + ".png"
90
+ lnk_output.update(value=png_path)
91
  image = save_image(result, png_path, model_str, prompt, nprompt, height, width, steps, cfg, theSeed)
92
  return image
93
  return None