DetGC commited on
Commit
994a920
·
verified ·
1 Parent(s): 926ee58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ async def infer(model_str, prompt, nprompt="", height=0, width=0, steps=0, cfg=0
85
  with lock:
86
  # png_path = "img.png"
87
  global loopcounter
88
- png_path = get_current_time() + "_" + loopcounter + ".png"
89
  loopcounter += 1
90
  image = save_image(result, png_path, model_str, prompt, nprompt, height, width, steps, cfg, seed)
91
  return image
 
85
  with lock:
86
  # png_path = "img.png"
87
  global loopcounter
88
+ png_path = get_current_time() + "_" + str(loopcounter) + ".png"
89
  loopcounter += 1
90
  image = save_image(result, png_path, model_str, prompt, nprompt, height, width, steps, cfg, seed)
91
  return image