Update app.py
Browse files
app.py
CHANGED
@@ -107,32 +107,41 @@ with gr.Blocks(css=css) as demo:
|
|
107 |
f"""
|
108 |
<div class="main-div">
|
109 |
<div>
|
110 |
-
<h1 style="color:orange;
|
111 |
</div>
|
112 |
<p>
|
113 |
Demo for <a href="https://huggingface.co/SG161222/Realistic_Vision_V1.4">Realistic Vision V1.4</a>
|
114 |
Stable Diffusion model by <a href="https://huggingface.co/SG161222/"><abbr title="SG1611222">Eugene</abbr></a>. {"" if prefix else ""}
|
115 |
</p>
|
116 |
-
Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU
|
117 |
|
118 |
-
<br
|
119 |
-
|
|
|
|
|
|
|
120 |
<q><em>Important note: The <mark>"RAW photo"</mark> in the prompt may degrade the result in v1.4.</em></q>
|
121 |
|
122 |
-
<
|
|
|
|
|
123 |
RAW photo, *subject*, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
|
124 |
<br>
|
125 |
<bdo dir="rtl">(high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3</bdo>
|
126 |
<br>
|
127 |
-
<sub><i>Example: RAW photo, a close up portrait photo of 26 y.o woman in wastelander clothes, long haircut,
|
128 |
</i></sub>
|
129 |
-
</code></small>
|
130 |
|
131 |
-
<
|
|
|
|
|
132 |
(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, <br> close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck
|
133 |
-
</code>
|
134 |
-
|
135 |
-
|
|
|
|
|
136 |
<br>
|
137 |
|
138 |
</div>
|
|
|
107 |
f"""
|
108 |
<div class="main-div">
|
109 |
<div>
|
110 |
+
<h1 style="color:orange;">Realistic Vision V1.4 ⚡</h1>
|
111 |
</div>
|
112 |
<p>
|
113 |
Demo for <a href="https://huggingface.co/SG161222/Realistic_Vision_V1.4">Realistic Vision V1.4</a>
|
114 |
Stable Diffusion model by <a href="https://huggingface.co/SG161222/"><abbr title="SG1611222">Eugene</abbr></a>. {"" if prefix else ""}
|
115 |
</p>
|
116 |
+
Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU ⚡</b>"}.
|
117 |
|
118 |
+
<br>
|
119 |
+
<br>
|
120 |
+
Please use this prompt template below to get an example of the desired generation results:
|
121 |
+
<br>
|
122 |
+
|
123 |
<q><em>Important note: The <mark>"RAW photo"</mark> in the prompt may degrade the result in v1.4.</em></q>
|
124 |
|
125 |
+
<br>
|
126 |
+
<b>Prompt</b>:
|
127 |
+
<small><details><code>
|
128 |
RAW photo, *subject*, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
|
129 |
<br>
|
130 |
<bdo dir="rtl">(high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3</bdo>
|
131 |
<br>
|
132 |
+
<sub><i>Example: RAW photo, a close up portrait photo of 26 y.o woman in wastelander clothes, long haircut, pale skin, slim body, background is city ruins, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
|
133 |
</i></sub>
|
134 |
+
</code></details></small>
|
135 |
|
136 |
+
<br>
|
137 |
+
<b>Negative Prompt</b>:
|
138 |
+
<details><code>
|
139 |
(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, <br> close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck
|
140 |
+
</code></details>
|
141 |
+
|
142 |
+
<br>
|
143 |
+
<br>
|
144 |
+
Have Fun & Enjoy ⚡ <a href="https://www.thafx.com"><abbr title="Website">//THAFX</abbr></a>
|
145 |
<br>
|
146 |
|
147 |
</div>
|