Spaces:
Thafx
/
Runtime error

Thafx commited on
Commit
9a3bdbb
1 Parent(s): 8702a72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -114,7 +114,7 @@ with gr.Blocks(css=css) as demo:
114
  Stable Diffusion model by <a href="https://huggingface.co/SG161222/"><abbr title="SG161222">SG161222</abbr></a>. {"" if prefix else ""}
115
  Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU ⚡</b>"}.
116
  </p>
117
- <p>Please use the prompt template below to get an example of the desired generation results:
118
  </p>
119
 
120
  <b>Prompt</b>:
@@ -128,8 +128,10 @@ fluid, wet, dripping, waxy, smooth, realistic, octane render
128
  <br>
129
  <b>Negative Prompt</b>:
130
  <details><code>
131
- two, few, couple, group, lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame,
132
- dehydrated, extra limbs, clone, disfigured, gross, malformed, extra arms, extra legs, fingers, long neck, username, watermark, signature
 
 
133
  </code></details>
134
 
135
  <br>
@@ -157,12 +159,12 @@ Have Fun & Enjoy ⚡ <a href="https://www.thafx.com"><abbr title="Website">//THA
157
  auto_prefix = gr.Checkbox(label="Prefix styling tokens automatically (RAW photo,)", value=prefix, visible=prefix)
158
 
159
  with gr.Row():
160
- guidance = gr.Slider(label="Guidance scale", value=7.5, maximum=15)
161
  steps = gr.Slider(label="Steps", value=25, minimum=2, maximum=75, step=1)
162
 
163
  with gr.Row():
164
- width = gr.Slider(label="Width", value=512, minimum=64, maximum=1024, step=8)
165
- height = gr.Slider(label="Height", value=512, minimum=64, maximum=1024, step=8)
166
 
167
  seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
168
 
 
114
  Stable Diffusion model by <a href="https://huggingface.co/SG161222/"><abbr title="SG161222">SG161222</abbr></a>. {"" if prefix else ""}
115
  Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU ⚡</b>"}.
116
  </p>
117
+ <p>Please use the prompt template below to get an example of the desired results:
118
  </p>
119
 
120
  <b>Prompt</b>:
 
128
  <br>
129
  <b>Negative Prompt</b>:
130
  <details><code>
131
+ (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,
132
+ jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated,
133
+ bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers,
134
+ too many fingers, long neck
135
  </code></details>
136
 
137
  <br>
 
159
  auto_prefix = gr.Checkbox(label="Prefix styling tokens automatically (RAW photo,)", value=prefix, visible=prefix)
160
 
161
  with gr.Row():
162
+ guidance = gr.Slider(label="Guidance scale", value=7.0, maximum=15)
163
  steps = gr.Slider(label="Steps", value=25, minimum=2, maximum=75, step=1)
164
 
165
  with gr.Row():
166
+ width = gr.Slider(label="Width", value=512, minimum=384, maximum=640, step=8)
167
+ height = gr.Slider(label="Height", value=768, minimum=512, maximum=960, step=8)
168
 
169
  seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
170