jhj0517
commited on
Commit
·
b1739bc
1
Parent(s):
219ecf9
Visibility to false for meaningless params for now
Browse files
app.py
CHANGED
@@ -38,8 +38,8 @@ class App:
|
|
38 |
gr.Slider(label=_("WOO"), minimum=-20, maximum=20, step=0.2, value=0),
|
39 |
gr.Slider(label=_("Smile"), minimum=-2.0, maximum=2.0, step=0.01, value=0),
|
40 |
gr.Slider(label=_("Source Ratio"), minimum=0, maximum=1, step=0.01, value=1),
|
41 |
-
gr.Slider(label=_("Sample Ratio"), minimum=-0.2, maximum=1.2, step=0.01, value=1),
|
42 |
-
gr.Dropdown(label=_("Sample Parts"),
|
43 |
choices=[part.value for part in SamplePart], value=SamplePart.ALL.value),
|
44 |
gr.Slider(label=_("Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=1.7)
|
45 |
]
|
|
|
38 |
gr.Slider(label=_("WOO"), minimum=-20, maximum=20, step=0.2, value=0),
|
39 |
gr.Slider(label=_("Smile"), minimum=-2.0, maximum=2.0, step=0.01, value=0),
|
40 |
gr.Slider(label=_("Source Ratio"), minimum=0, maximum=1, step=0.01, value=1),
|
41 |
+
gr.Slider(label=_("Sample Ratio"), minimum=-0.2, maximum=1.2, step=0.01, value=1, visible=False),
|
42 |
+
gr.Dropdown(label=_("Sample Parts"), visible=False,
|
43 |
choices=[part.value for part in SamplePart], value=SamplePart.ALL.value),
|
44 |
gr.Slider(label=_("Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=1.7)
|
45 |
]
|