Spaces:
Running
on
Zero
Running
on
Zero
guangkaixu
commited on
Commit
•
4191566
1
Parent(s):
5c0314d
Update app.py
Browse files
app.py
CHANGED
@@ -273,7 +273,7 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis):
|
|
273 |
)
|
274 |
|
275 |
filenames = []
|
276 |
-
filenames.extend(["
|
277 |
filenames.extend(["depth_line_%d.jpg" %(i+1) for i in range(6)])
|
278 |
filenames.extend(["depth_real_%d.jpg" %(i+1) for i in range(24)])
|
279 |
|
@@ -335,7 +335,7 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis):
|
|
335 |
Examples(
|
336 |
fn=process_pipe_normal,
|
337 |
examples=[
|
338 |
-
os.path.join(example_folder, '
|
339 |
for name in filenames
|
340 |
],
|
341 |
inputs=[normal_image_input],
|
@@ -389,7 +389,7 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis):
|
|
389 |
Examples(
|
390 |
fn=process_pipe_dis,
|
391 |
examples=[
|
392 |
-
os.path.join(example_folder, '
|
393 |
for name in filenames
|
394 |
],
|
395 |
inputs=[dis_image_input],
|
|
|
273 |
)
|
274 |
|
275 |
filenames = []
|
276 |
+
filenames.extend(["depth_anime_%d.jpg" %(i+1) for i in range(7)])
|
277 |
filenames.extend(["depth_line_%d.jpg" %(i+1) for i in range(6)])
|
278 |
filenames.extend(["depth_real_%d.jpg" %(i+1) for i in range(24)])
|
279 |
|
|
|
335 |
Examples(
|
336 |
fn=process_pipe_normal,
|
337 |
examples=[
|
338 |
+
os.path.join(example_folder, 'normal', name)
|
339 |
for name in filenames
|
340 |
],
|
341 |
inputs=[normal_image_input],
|
|
|
389 |
Examples(
|
390 |
fn=process_pipe_dis,
|
391 |
examples=[
|
392 |
+
os.path.join(example_folder, 'dis', name)
|
393 |
for name in filenames
|
394 |
],
|
395 |
inputs=[dis_image_input],
|