Spaces:
Running
on
Zero
Running
on
Zero
guangkaixu
commited on
Commit
•
1ccdae3
1
Parent(s):
6b80964
Update app.py
Browse files
app.py
CHANGED
@@ -333,9 +333,10 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis):
|
|
333 |
|
334 |
filenames = []
|
335 |
filenames.extend(["normal_%d.jpg" %(i+1) for i in range(10)])
|
336 |
-
example_folder = "images"
|
337 |
-
print(os.path.join(example_folder, '1.jpg'))
|
338 |
# example_folder = os.path.join(os.path.dirname(__file__), "images")
|
|
|
339 |
|
340 |
Examples(
|
341 |
fn=process_pipe_normal,
|
@@ -392,9 +393,9 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis):
|
|
392 |
|
393 |
filenames = []
|
394 |
filenames.extend(["dis_%d.jpg" %(i+1) for i in range(10)])
|
395 |
-
example_folder = "images"
|
396 |
# print('line 396', __file__)
|
397 |
-
|
398 |
# print(example_folder)
|
399 |
Examples(
|
400 |
fn=process_pipe_dis,
|
|
|
333 |
|
334 |
filenames = []
|
335 |
filenames.extend(["normal_%d.jpg" %(i+1) for i in range(10)])
|
336 |
+
# example_folder = "images"
|
337 |
+
# print(os.path.join(example_folder, '1.jpg'))
|
338 |
# example_folder = os.path.join(os.path.dirname(__file__), "images")
|
339 |
+
example_folder = os.path.join(os.path.dirname(__file__), "./images")
|
340 |
|
341 |
Examples(
|
342 |
fn=process_pipe_normal,
|
|
|
393 |
|
394 |
filenames = []
|
395 |
filenames.extend(["dis_%d.jpg" %(i+1) for i in range(10)])
|
396 |
+
# example_folder = "images"
|
397 |
# print('line 396', __file__)
|
398 |
+
example_folder = os.path.join(os.path.dirname(__file__), "images")
|
399 |
# print(example_folder)
|
400 |
Examples(
|
401 |
fn=process_pipe_dis,
|