Spaces:
Running
on
Zero
Running
on
Zero
tori29umai
commited on
Commit
•
538326f
1
Parent(s):
9680e12
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ class Img2Img:
|
|
102 |
self.prompt = gr.Textbox(label="Prompt", lines=3)
|
103 |
self.negative_prompt = gr.Textbox(label="Negative prompt", lines=3, value="sketch, lowres, error, extra digit, fewer digits, cropped, worst quality,low quality, normal quality, jpeg artifacts, blurry")
|
104 |
prompt_analysis_button = gr.Button("Prompt analysis")
|
105 |
-
self.controlnet_scale = gr.Slider(minimum=0.
|
106 |
generate_button = gr.Button(value="Generate", variant="primary")
|
107 |
with gr.Column():
|
108 |
self.output_image = gr.Image(type="pil", label="Output image")
|
|
|
102 |
self.prompt = gr.Textbox(label="Prompt", lines=3)
|
103 |
self.negative_prompt = gr.Textbox(label="Negative prompt", lines=3, value="sketch, lowres, error, extra digit, fewer digits, cropped, worst quality,low quality, normal quality, jpeg artifacts, blurry")
|
104 |
prompt_analysis_button = gr.Button("Prompt analysis")
|
105 |
+
self.controlnet_scale = gr.Slider(minimum=0.4, maximum=1.0, value=0.55, step=0.01, label="Photp fidelity")
|
106 |
generate_button = gr.Button(value="Generate", variant="primary")
|
107 |
with gr.Column():
|
108 |
self.output_image = gr.Image(type="pil", label="Output image")
|