Fabrice-TIERCELIN commited on
Commit
06254a3
1 Parent(s): 23b57d4

Due to Gradio issues, the generated image is slightly less satured than the original

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -424,7 +424,7 @@ def restore_on_gpu(
424
  print("edm_steps: " + str(edm_steps))
425
  print("num_samples: " + str(num_samples))
426
  print("downscale: " + str(downscale))
427
- print("Estimated minutes: " + f'{((result_width * result_height * input_width * input_height * (edm_steps**(1/2)) * (num_samples**(1/2)))**(1/2.5)) / 15000:,}')
428
  except Exception as e:
429
  print('Exception of Estimation')
430
 
@@ -491,7 +491,9 @@ title_html = """
491
  Most of the processes only last few minutes.
492
  The process will be aborted if it lasts more than 10 min.
493
  If you want to upscale AI-generated images, be noticed that <i>Stable Diffusion 3 Medium</i> spaces can directly generate 1536x1536 images.
 
494
  Please leave a <a href="https://huggingface.co/spaces/Fabrice-TIERCELIN/SUPIR/discussions/new">message in discussion</a> if you encounter issues.
 
495
 
496
  <p><center><a href="https://arxiv.org/abs/2401.13627">Paper</a> &emsp; <a href="http://supir.xpixel.group/">Project Page</a> &emsp; <a href="https://huggingface.co/blog/MonsterMMORPG/supir-sota-image-upscale-better-than-magnific-ai">Local Install Guide</a></center></p>
497
  <p><center><a style="display:inline-block" href='https://github.com/Fanghua-Yu/SUPIR'><img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/Fanghua-Yu/SUPIR?style=social"></a></center></p>
 
424
  print("edm_steps: " + str(edm_steps))
425
  print("num_samples: " + str(num_samples))
426
  print("downscale: " + str(downscale))
427
+ print("Estimated minutes: " + f'{((result_width * result_height * input_width * input_height * (edm_steps**(1/2)) * (num_samples**(1/2)))**(1/2.5)) / 75000:,}')
428
  except Exception as e:
429
  print('Exception of Estimation')
430
 
 
491
  Most of the processes only last few minutes.
492
  The process will be aborted if it lasts more than 10 min.
493
  If you want to upscale AI-generated images, be noticed that <i>Stable Diffusion 3 Medium</i> spaces can directly generate 1536x1536 images.
494
+ Due to Gradio issues, the generated image is slightly less satured than the original.
495
  Please leave a <a href="https://huggingface.co/spaces/Fabrice-TIERCELIN/SUPIR/discussions/new">message in discussion</a> if you encounter issues.
496
+ You can also use <a href="https://huggingface.co/spaces/gokaygokay/AuraSR">AuraSR</a> to upscale x4.
497
 
498
  <p><center><a href="https://arxiv.org/abs/2401.13627">Paper</a> &emsp; <a href="http://supir.xpixel.group/">Project Page</a> &emsp; <a href="https://huggingface.co/blog/MonsterMMORPG/supir-sota-image-upscale-better-than-magnific-ai">Local Install Guide</a></center></p>
499
  <p><center><a style="display:inline-block" href='https://github.com/Fanghua-Yu/SUPIR'><img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/Fanghua-Yu/SUPIR?style=social"></a></center></p>