sayakpaul HF staff commited on
Commit
f165ffb
1 Parent(s): f694643
Files changed (1) hide show
  1. app.py +16 -8
app.py CHANGED
@@ -68,15 +68,23 @@ with block:
68
  """
69
  )
70
  gr.HTML(
71
- """
72
- <div class="acknowledgments">
73
- <p><h4>LICENSE</h4>
74
- The model is licensed with a <a href="https://huggingface.co/stabilityai/stable-diffusion-2/blob/main/LICENSE-MODEL" style="text-decoration: underline;" target="_blank">CreativeML OpenRAIL++</a> license. The authors claim no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in this license. The license forbids you from sharing any content that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm, spread misinformation and target vulnerable groups. For the full list of restrictions please <a href="https://huggingface.co/spaces/CompVis/stable-diffusion-license" target="_blank" style="text-decoration: underline;" target="_blank">read the license</a></p>
 
 
 
 
 
 
 
 
75
  <p><h4>Biases and content acknowledgment</h4>
76
- Despite how impressive being able to turn text into image is, beware to the fact that this model may output content that reinforces or exacerbates societal biases, as well as realistic faces, pornography and violence. The model was trained on the <a href="https://laion.ai/blog/laion-5b/" style="text-decoration: underline;" target="_blank">LAION-5B dataset</a>, which scraped non-curated image-text-pairs from the internet (the exception being the removal of illegal content) and is meant for research purposes. You can read more in the <a href="https://huggingface.co/CompVis/stable-diffusion-v1-4" style="text-decoration: underline;" target="_blank">model card</a></p>
77
- </div>
78
- """
79
- )
80
 
81
 
82
  block.launch()
 
68
  """
69
  )
70
  gr.HTML(
71
+ """
72
+ <div class="acknowledgments">
73
+ <p><h4>How it works?</h4>
74
+ <ul>
75
+ <li> The evaluator first sets a seed and then generates the initial noise which is passed as the initial latent to start the image generation process. It is done to ensure fair comparison.</li>
76
+ <li>This initial latent is used every time the pipeline is run (with different schedulers).</li>
77
+ <li>To quantify the quality of the generated images we use:</li>
78
+ <ul>
79
+ <li><a href=https://en.wikipedia.org/wiki/Inception_score>Inception Score</a></li>
80
+ <li><a href=https://arxiv.org/abs/2104.08718>Clip Score</a></li>
81
+ </ul>
82
+ </ul>
83
  <p><h4>Biases and content acknowledgment</h4>
84
+ Despite how impressive being able to turn text into image is, beware to the fact that this model may output content that reinforces or exacerbates societal biases, as well as realistic faces, pornography and violence. The model was trained on the <a href="https://laion.ai/blog/laion-5b/" style="text-decoration: underline;" target="_blank">LAION-5B dataset</a>, which scraped non-curated image-text-pairs from the internet (the exception being the removal of illegal content) and is meant for research purposes. You can read more in the <a href="https://huggingface.co/CompVis/stable-diffusion-v1-4" style="text-decoration: underline;" target="_blank">model card</a></p>
85
+ </div>
86
+ """
87
+ )
88
 
89
 
90
  block.launch()