DetGC commited on
Commit
53d048d
·
verified ·
1 Parent(s): e8a4e17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ async def infer(model_str, prompt, nprompt="", height=0, width=0, steps=0, cfg=0
88
  global loopcounter
89
  # png_path = get_current_time() + "_" + str(loopcounter) + ".png"
90
  # png_path = get_current_time() + "_" + str(seed) + ".png"
91
- png_path = get_current_time() + "_" + models_load[model_str] + "_" + str(seed) + ".png"
92
  loopcounter += 1
93
  image = save_image(result, png_path, model_str, prompt, nprompt, height, width, steps, cfg, seed)
94
  return image
 
88
  global loopcounter
89
  # png_path = get_current_time() + "_" + str(loopcounter) + ".png"
90
  # png_path = get_current_time() + "_" + str(seed) + ".png"
91
+ png_path = get_current_time() + "_" + str(models_load[model_str]) + "_" + str(seed) + ".png"
92
  loopcounter += 1
93
  image = save_image(result, png_path, model_str, prompt, nprompt, height, width, steps, cfg, seed)
94
  return image