kayfahaarukku commited on
Commit
a00879e
·
verified ·
1 Parent(s): a06684e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -85,6 +85,21 @@ with gr.Blocks(title="UrangDiffusion 1.0 Demo", theme="NoCrypt/[email protected]") as d
85
 
86
  with gr.Column():
87
  output_image = gr.Image(type="pil", label="Generated Image")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
 
89
  generate_button.click(
90
  interface_fn,
 
85
 
86
  with gr.Column():
87
  output_image = gr.Image(type="pil", label="Generated Image")
88
+ gr.HTML(
89
+ """
90
+ <div style="margin-top: 10px; padding: 10px; background-color: #f0f0f0; border-radius: 5px;">
91
+ <h3>Recommended prompt formatting:</h3>
92
+ <pre>1girl/1boy, character name, from what series, everything else in any order, masterpiece, best quality</pre>
93
+ <p><strong>PS:</strong> <code>masterpiece, best quality</code> is automatically added when "Use Default Quality Tags and Negative Prompt" is enabled</p>
94
+
95
+ <h3>Recommended settings:</h3>
96
+ <ul>
97
+ <li>Steps: 25-30</li>
98
+ <li>CFG: 5-7</li>
99
+ </ul>
100
+ </div>
101
+ """
102
+ )
103
 
104
  generate_button.click(
105
  interface_fn,