Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -145,7 +145,7 @@ class Img2Img:
|
|
| 145 |
)
|
| 146 |
|
| 147 |
self.negative_prompt = gr.Textbox(label="Negative prompt", lines=3, value="nose, asian, realistic, lowres, error, extra digit, fewer digits, cropped, worst quality,low quality, normal quality, jpeg artifacts, blurry")
|
| 148 |
-
self.controlnet_scale = gr.Slider(minimum=0.4, maximum=1.0, value=0.
|
| 149 |
generate_button = gr.Button(value="Generate", variant="primary")
|
| 150 |
|
| 151 |
with gr.Column():
|
|
|
|
| 145 |
)
|
| 146 |
|
| 147 |
self.negative_prompt = gr.Textbox(label="Negative prompt", lines=3, value="nose, asian, realistic, lowres, error, extra digit, fewer digits, cropped, worst quality,low quality, normal quality, jpeg artifacts, blurry")
|
| 148 |
+
self.controlnet_scale = gr.Slider(minimum=0.4, maximum=1.0, value=0.6, step=0.01, label="Photo fidelity")
|
| 149 |
generate_button = gr.Button(value="Generate", variant="primary")
|
| 150 |
|
| 151 |
with gr.Column():
|