Spaces:
Runtime error
Runtime error
lemonaddie
commited on
Update app1.py
Browse files
app1.py
CHANGED
@@ -216,29 +216,6 @@ def run_demo_server(pipe):
|
|
216 |
concurrency_limit=1,
|
217 |
)
|
218 |
|
219 |
-
gr.Examples(
|
220 |
-
fn=submit_depth_fn,
|
221 |
-
examples=[
|
222 |
-
[
|
223 |
-
"files/bee.jpg",
|
224 |
-
10, # ensemble_size
|
225 |
-
10, # denoise_steps
|
226 |
-
768, # processing_res
|
227 |
-
"files/bee_depth_16bit.png",
|
228 |
-
"files/bee_depth_fp32.npy",
|
229 |
-
"files/bee_depth_colored.png",
|
230 |
-
0.0, # plane_near
|
231 |
-
0.5, # plane_far
|
232 |
-
20, # embossing
|
233 |
-
3, # filter_size
|
234 |
-
0, # frame_near
|
235 |
-
],
|
236 |
-
],
|
237 |
-
inputs=inputs,
|
238 |
-
outputs=outputs,
|
239 |
-
cache_examples=True,
|
240 |
-
)
|
241 |
-
|
242 |
|
243 |
def clear_fn():
|
244 |
out = []
|
|
|
216 |
concurrency_limit=1,
|
217 |
)
|
218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
|
220 |
def clear_fn():
|
221 |
out = []
|