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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -87,8 +87,8 @@ async def infer(model_str, prompt, nprompt="", height=0, width=0, steps=0, cfg=0
87
  # png_path = "img.png"
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
 
87
  # png_path = "img.png"
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