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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -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.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
 
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