sayakpaul HF staff commited on
Commit
e763eea
1 Parent(s): 7ac1403
Files changed (1) hide show
  1. app.py +26 -21
app.py CHANGED
@@ -61,29 +61,34 @@ with block:
61
  </div>
62
  """
63
  )
64
- gr.HTML(
65
- """
66
- <div class="acknowledgments">
67
- <p><h4>How it works?</h4>
68
- <ul>
69
- <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>
70
- <li>This initial latent is used every time the pipeline is run (with different schedulers).</li>
71
- <li>To quantify the quality of the generated images we use:</li>
 
72
  <ul>
73
- <li><a href=https://en.wikipedia.org/wiki/Inception_score>Inception Score</a></li>
74
- <li><a href=https://arxiv.org/abs/2104.08718>Clip Score</a></li>
 
 
 
 
 
 
 
 
 
 
 
75
  </ul>
76
- </ul></p>
77
- <p><h4>Notes</h4>
78
- <ul>
79
- <li>The default scheduler associated with the provided checkpoint is always used for reporting the scores.</li>
80
- <li>Increasing both the number of images per prompt and the number of inference steps could quickly build up the inference queue and thus
81
- resulting in slowdowns.</li>
82
- </ul>
83
- </p>
84
- </div>
85
- """
86
- )
87
 
88
 
89
  block.launch()
 
61
  </div>
62
  """
63
  )
64
+ with gr.Group():
65
+ # with gr.Box():
66
+ # with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
67
+ # with gr.Column():
68
+ # gr.Text(max_lines=1, placeholder="a painting of a dog")
69
+ gr.HTML(
70
+ """
71
+ <div class="acknowledgments">
72
+ <p><h4>How it works?</h4>
73
  <ul>
74
+ <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>
75
+ <li>This initial latent is used every time the pipeline is run (with different schedulers).</li>
76
+ <li>To quantify the quality of the generated images we use:</li>
77
+ <ul>
78
+ <li><a href=https://en.wikipedia.org/wiki/Inception_score>Inception Score</a></li>
79
+ <li><a href=https://arxiv.org/abs/2104.08718>Clip Score</a></li>
80
+ </ul>
81
+ </ul></p>
82
+ <p><h4>Notes</h4>
83
+ <ul>
84
+ <li>The default scheduler associated with the provided checkpoint is always used for reporting the scores.</li>
85
+ <li>Increasing both the number of images per prompt and the number of inference steps could quickly build up the inference queue and thus
86
+ resulting in slowdowns.</li>
87
  </ul>
88
+ </p>
89
+ </div>
90
+ """
91
+ )
 
 
 
 
 
 
 
92
 
93
 
94
  block.launch()