DetGC commited on
Commit
fef0e55
·
verified ·
1 Parent(s): f316c82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ async def infer(model_str, prompt, nprompt="", height=0, width=0, steps=0, cfg=0
74
  raise Exception() from e
75
  if task.done() and result is not None and not isinstance(result, tuple):
76
  with lock:
77
- png_path = "image.png"
78
  image = save_image(result, png_path, model_str, prompt, nprompt, height, width, steps, cfg, seed)
79
  return image
80
  return None
 
74
  raise Exception() from e
75
  if task.done() and result is not None and not isinstance(result, tuple):
76
  with lock:
77
+ png_path = "img.png"
78
  image = save_image(result, png_path, model_str, prompt, nprompt, height, width, steps, cfg, seed)
79
  return image
80
  return None