Commit
·
ed49002
1
Parent(s):
9f02ef8
Update app
Browse files- app.py +3 -3
- visual_anagrams/views/__init__.py +0 -1
app.py
CHANGED
@@ -96,9 +96,9 @@ gradio_app = gr.Interface(
|
|
96 |
gr.Dropdown(label="View transformation", choices=choices, value=choices[0]),
|
97 |
gr.Number(label="Number of diffusion steps", value=75, step=1, minimum=1, maximum=300),
|
98 |
gr.Number(label="Random seed", value=0, step=1, minimum=0, maximum=100000),
|
99 |
-
gr.Number(label="Guidance scale", value=7.0, step=0.1, minimum=0.1, maximum=10.0, info="How
|
100 |
-
gr.Number(label="Noise level", value=50, step=1, minimum=1, maximum=100, info="Noise level for stage 2 of diffusion sampling"),
|
101 |
-
gr.Dropdown(label="Reduction", choices=["mean", "alternate"], value="mean", info="
|
102 |
],
|
103 |
outputs=[gr.Video(label="Illusion"), gr.Image(label="Before and After")],
|
104 |
description=description,
|
|
|
96 |
gr.Dropdown(label="View transformation", choices=choices, value=choices[0]),
|
97 |
gr.Number(label="Number of diffusion steps", value=75, step=1, minimum=1, maximum=300),
|
98 |
gr.Number(label="Random seed", value=0, step=1, minimum=0, maximum=100000),
|
99 |
+
gr.Number(label="Guidance scale", value=7.0, step=0.1, minimum=0.1, maximum=10.0, info="How strongly diffusion is guided by the prompt"),
|
100 |
+
gr.Number(label="Noise level", value=50, step=1, minimum=1, maximum=100, info="Noise level for stage 2 of diffusion sampling", visible=False),
|
101 |
+
gr.Dropdown(label="Reduction", choices=["mean", "alternate"], value="mean", info="Method for reducing predicted noise and variances", visible=False),
|
102 |
],
|
103 |
outputs=[gr.Video(label="Illusion"), gr.Image(label="Before and After")],
|
104 |
description=description,
|
visual_anagrams/views/__init__.py
CHANGED
@@ -29,7 +29,6 @@ VIEW_MAP_NAMES = {
|
|
29 |
'Flip': 'flip',
|
30 |
'Rotate 90° clockwise': 'rotate_cw',
|
31 |
'Rotate 90° counter-clockwise': 'rotate_ccw',
|
32 |
-
'Rotate 180°': 'rotate_180',
|
33 |
'Invert colors': 'negate',
|
34 |
'Shear': 'skew',
|
35 |
'Patch permutation': 'patch_permute',
|
|
|
29 |
'Flip': 'flip',
|
30 |
'Rotate 90° clockwise': 'rotate_cw',
|
31 |
'Rotate 90° counter-clockwise': 'rotate_ccw',
|
|
|
32 |
'Invert colors': 'negate',
|
33 |
'Shear': 'skew',
|
34 |
'Patch permutation': 'patch_permute',
|