Spaces:
Runtime error
Runtime error
lemonaddie
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -258,7 +258,8 @@ def run_demo_server(pipe):
|
|
258 |
# blocks_settings_depth = [ensemble_size, denoise_steps, processing_res]
|
259 |
# # blocks_settings_3d = [plane_near, plane_far, embossing, size_longest_px, size_longest_cm, filter_size,
|
260 |
# # frame_thickness, frame_near, frame_far]
|
261 |
-
#
|
|
|
262 |
# map_id_to_default = {b._id: b.value for b in blocks_settings}
|
263 |
|
264 |
# inputs = [
|
@@ -303,7 +304,7 @@ def run_demo_server(pipe):
|
|
303 |
out.append(map_id_to_default[b._id])
|
304 |
out += [
|
305 |
gr.Button(interactive=True),
|
306 |
-
gr.Button(interactive=True),
|
307 |
gr.Image(value=None, interactive=True),
|
308 |
None, None, None, None, None, None, None,
|
309 |
]
|
|
|
258 |
# blocks_settings_depth = [ensemble_size, denoise_steps, processing_res]
|
259 |
# # blocks_settings_3d = [plane_near, plane_far, embossing, size_longest_px, size_longest_cm, filter_size,
|
260 |
# # frame_thickness, frame_near, frame_far]
|
261 |
+
# blocks_settings = blocks_settings_depth + blocks_settings_3d
|
262 |
+
blocks_settings = blocks_settings_depth
|
263 |
# map_id_to_default = {b._id: b.value for b in blocks_settings}
|
264 |
|
265 |
# inputs = [
|
|
|
304 |
out.append(map_id_to_default[b._id])
|
305 |
out += [
|
306 |
gr.Button(interactive=True),
|
307 |
+
#gr.Button(interactive=True),
|
308 |
gr.Image(value=None, interactive=True),
|
309 |
None, None, None, None, None, None, None,
|
310 |
]
|