Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ async def infer(model_str, prompt, nprompt="", height=0, width=0, steps=0, cfg=0
|
|
89 |
if task.done() and result is not None and not isinstance(result, tuple):
|
90 |
with lock:
|
91 |
png_path = model_str.replace("/", "_") + " - " + get_current_time() + "_" + str(theSeed) + ".png"
|
92 |
-
lnk_output(value=png_path)
|
93 |
image = save_image(result, png_path, model_str, prompt, nprompt, height, width, steps, cfg, theSeed)
|
94 |
return image
|
95 |
return None
|
|
|
89 |
if task.done() and result is not None and not isinstance(result, tuple):
|
90 |
with lock:
|
91 |
png_path = model_str.replace("/", "_") + " - " + get_current_time() + "_" + str(theSeed) + ".png"
|
92 |
+
# lnk_output(value=png_path)
|
93 |
image = save_image(result, png_path, model_str, prompt, nprompt, height, width, steps, cfg, theSeed)
|
94 |
return image
|
95 |
return None
|