kayfahaarukku commited on
Commit
87d81cd
1 Parent(s): bff96b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -15
app.py CHANGED
@@ -85,21 +85,19 @@ 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
- 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,
 
85
 
86
  with gr.Column():
87
  output_image = gr.Image(type="pil", label="Generated Image")
88
+
89
+ gr.Markdown(
90
+ """
91
+ ### Recommended prompt formatting:
92
+ `1girl/1boy, character name, from what series, everything else in any order, masterpiece, best quality`
93
+
94
+ **PS:** `masterpiece, best quality` is automatically added when "Use Default Quality Tags and Negative Prompt" is enabled
95
+
96
+ ### Recommended settings:
97
+ - Steps: 25-30
98
+ - CFG: 5-7
99
+ """
100
+ )
 
 
101
 
102
  generate_button.click(
103
  interface_fn,