Spaces:
Thafx
/
Runtime error

Thafx commited on
Commit
f9c7c8b
·
1 Parent(s): b786e8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -14
app.py CHANGED
@@ -107,29 +107,34 @@ with gr.Blocks(css=css) as demo:
107
  f"""
108
  <div class="main-div">
109
  <div>
110
- <h1>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> Stable Diffusion model by <a href="https://huggingface.co/SG161222/">"SG1611222/Eugene"</a>.<br><br>
114
- Please use this prompt template below to get an example of the desired generation results:<br>
115
- <blockquote>Important note: The "RAW photo" in the prompt may degrade the result in v1.4.</blockquote>
 
 
 
 
 
116
 
117
- <b>Prompt</b>:<code>
118
  RAW photo, *subject*, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
119
  <br>
120
- <details><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
121
- </i></details>
122
- </code>
 
 
123
 
124
  <b>Negative Prompt</b>:<code>
125
- (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, 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
126
  </code>
 
 
127
  <br>
128
- Have Fun & Enjoy //THAFX
129
- <br>
130
- {"" if prefix else ""}
131
- </p>
132
- Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU 🔥</b>"}.
133
  </div>
134
  """
135
  )
 
107
  f"""
108
  <div class="main-div">
109
  <div>
110
+ <h1 style="color:orange; font-family: verdana;">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><br>
119
+ Please use this prompt template below to get an example of the desired generation results:<br>
120
+ <q><em>Important note: The <mark>"RAW photo"</mark> in the prompt may degrade the result in v1.4.</em></q>
121
 
122
+ <b>Prompt</b>:<small><code>
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, <br> pale skin, slim body, background is city ruins, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
128
+ </i></sub>
129
+ </code></small>
130
 
131
  <b>Negative Prompt</b>:<code>
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
+ <br><br>
135
+ Have Fun & Enjoy <a href="https://www.thafx.com"><abbr title="//THAFX">Website</abbr></a>
136
  <br>
137
+
 
 
 
 
138
  </div>
139
  """
140
  )