Spaces:
Running
on
Zero
Running
on
Zero
guangkaixu
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -341,7 +341,7 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis):
|
|
341 |
Examples(
|
342 |
fn=process_pipe_normal,
|
343 |
examples=[
|
344 |
-
os.path.join(
|
345 |
for name in filenames
|
346 |
],
|
347 |
inputs=[normal_image_input],
|
@@ -392,10 +392,10 @@ 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 |
-
|
396 |
print('line 396', __file__)
|
397 |
-
example_folder = os.path.join(os.path.dirname(__file__), "images")
|
398 |
-
print(example_folder)
|
399 |
Examples(
|
400 |
fn=process_pipe_dis,
|
401 |
examples=[
|
|
|
341 |
Examples(
|
342 |
fn=process_pipe_normal,
|
343 |
examples=[
|
344 |
+
os.path.join("images", name)
|
345 |
for name in filenames
|
346 |
],
|
347 |
inputs=[normal_image_input],
|
|
|
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 |
+
# example_folder = os.path.join(os.path.dirname(__file__), "images")
|
398 |
+
# print(example_folder)
|
399 |
Examples(
|
400 |
fn=process_pipe_dis,
|
401 |
examples=[
|