lemonaddie
commited on
Commit
•
db72d60
1
Parent(s):
b1b258e
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def run_demo_server(pipe):
|
|
91 |
) as demo:
|
92 |
gr.Markdown(
|
93 |
"""
|
94 |
-
<h1 align="center">Geowizard Depth&Normal Estimation</h1>
|
95 |
"""
|
96 |
)
|
97 |
|
@@ -102,12 +102,21 @@ def run_demo_server(pipe):
|
|
102 |
type="filepath",
|
103 |
)
|
104 |
with gr.Accordion("Advanced options", open=False):
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
minimum=1,
|
108 |
-
maximum=
|
109 |
step=1,
|
110 |
-
value=
|
111 |
)
|
112 |
denoise_steps = gr.Slider(
|
113 |
label="Number of denoising steps",
|
@@ -116,6 +125,13 @@ def run_demo_server(pipe):
|
|
116 |
step=1,
|
117 |
value=10,
|
118 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
processing_res = gr.Radio(
|
120 |
[
|
121 |
("Native", 0),
|
|
|
91 |
) as demo:
|
92 |
gr.Markdown(
|
93 |
"""
|
94 |
+
<h1 align="center">Geowizard Depth & Normal Estimation</h1>
|
95 |
"""
|
96 |
)
|
97 |
|
|
|
102 |
type="filepath",
|
103 |
)
|
104 |
with gr.Accordion("Advanced options", open=False):
|
105 |
+
processing_res = gr.Radio(
|
106 |
+
[
|
107 |
+
("Outdoor", "outdoor"),
|
108 |
+
("Indoor", "indoor"),
|
109 |
+
("Object", "object"),
|
110 |
+
],
|
111 |
+
label="Data Domain",
|
112 |
+
value="indoor",
|
113 |
+
)
|
114 |
+
denoise_steps = gr.Slider(
|
115 |
+
label="Classifier Free Guidance Scale",
|
116 |
minimum=1,
|
117 |
+
maximum=5,
|
118 |
step=1,
|
119 |
+
value=3,
|
120 |
)
|
121 |
denoise_steps = gr.Slider(
|
122 |
label="Number of denoising steps",
|
|
|
125 |
step=1,
|
126 |
value=10,
|
127 |
)
|
128 |
+
ensemble_size = gr.Slider(
|
129 |
+
label="Ensemble size",
|
130 |
+
minimum=1,
|
131 |
+
maximum=15,
|
132 |
+
step=1,
|
133 |
+
value=1,
|
134 |
+
)
|
135 |
processing_res = gr.Radio(
|
136 |
[
|
137 |
("Native", 0),
|