Spaces:
Running
on
T4
Running
on
T4
Maitreyapatel
commited on
Commit
•
084a6a2
1
Parent(s):
5870432
pixel diff explanation
Browse files
app.py
CHANGED
@@ -167,7 +167,7 @@ Weight Modulation for User Attribution and Fingerprinting in Text-to-Image Diffu
|
|
167 |
with gr.Row():
|
168 |
steps = gr.Slider(label="Steps", minimum=45, maximum=55, value=50, step=1)
|
169 |
guidance_scale = gr.Slider(
|
170 |
-
label="Guidance Scale", minimum=0, maximum=10, value=
|
171 |
)
|
172 |
|
173 |
with gr.Row():
|
@@ -176,7 +176,7 @@ Weight Modulation for User Attribution and Fingerprinting in Text-to-Image Diffu
|
|
176 |
with gr.Row():
|
177 |
im_2 = gr.Image(type="pil", label="without attribution")
|
178 |
im_3 = gr.Image(type="pil", label="**with** attribution")
|
179 |
-
im_4 = gr.Image(type="pil", label="pixel-wise difference")
|
180 |
|
181 |
|
182 |
btn.click(get_images, inputs=[text, negative, steps, guidance_scale], outputs=[im_2, im_3, im_4])
|
|
|
167 |
with gr.Row():
|
168 |
steps = gr.Slider(label="Steps", minimum=45, maximum=55, value=50, step=1)
|
169 |
guidance_scale = gr.Slider(
|
170 |
+
label="Guidance Scale", minimum=0, maximum=10, value=7.5, step=0.1
|
171 |
)
|
172 |
|
173 |
with gr.Row():
|
|
|
176 |
with gr.Row():
|
177 |
im_2 = gr.Image(type="pil", label="without attribution")
|
178 |
im_3 = gr.Image(type="pil", label="**with** attribution")
|
179 |
+
im_4 = gr.Image(type="pil", label="pixel-wise difference multiplied by 5")
|
180 |
|
181 |
|
182 |
btn.click(get_images, inputs=[text, negative, steps, guidance_scale], outputs=[im_2, im_3, im_4])
|