salomonsky commited on
Commit
8c45d22
1 Parent(s): 53635c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ async def gen(prompt, basemodel, width, height, scales, steps, seed, upscale_fac
78
  upscale_image.save(DATA_PATH / f"upscale_image_{seed}.jpg", format="JPEG")
79
  progress_bar.progress(100)
80
  image_path.unlink()
81
- return [str(DATA_PATH / f"upscale_image_{seed}.jpg"), str(prompt_file_path")]
82
  else:
83
  progress_bar.empty()
84
  return [str(image_path), str(prompt_file_path)]
 
78
  upscale_image.save(DATA_PATH / f"upscale_image_{seed}.jpg", format="JPEG")
79
  progress_bar.progress(100)
80
  image_path.unlink()
81
+ return [str(DATA_PATH / f"upscale_image_{seed}.jpg"), str(prompt_file_path)]
82
  else:
83
  progress_bar.empty()
84
  return [str(image_path), str(prompt_file_path)]