guangkaixu commited on
Commit
900612e
1 Parent(s): 1fa3e93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -289,8 +289,9 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis):
289
  ],
290
  inputs=[depth_image_input],
291
  outputs=[depth_image_output_slider, depth_image_output_files],
292
- cache_examples=True,
293
- directory_name="examples_depth",
 
294
  )
295
 
296
  with gr.Tab("Normal"):
@@ -341,8 +342,9 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis):
341
  ],
342
  inputs=[normal_image_input],
343
  outputs=[normal_image_output_slider, normal_image_output_files],
344
- cache_examples=True,
345
- directory_name="examples_normal",
 
346
  )
347
 
348
  with gr.Tab("Dichotomous Segmentation"):
@@ -393,8 +395,9 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis):
393
  ],
394
  inputs=[dis_image_input],
395
  outputs=[dis_image_output_slider, dis_image_output_files],
396
- cache_examples=True,
397
- directory_name="examples_dis",
 
398
  )
399
 
400
 
 
289
  ],
290
  inputs=[depth_image_input],
291
  outputs=[depth_image_output_slider, depth_image_output_files],
292
+ # cache_examples=True,
293
+ # directory_name="examples_depth",
294
+ cache_examples=False,
295
  )
296
 
297
  with gr.Tab("Normal"):
 
342
  ],
343
  inputs=[normal_image_input],
344
  outputs=[normal_image_output_slider, normal_image_output_files],
345
+ # cache_examples=True,
346
+ # directory_name="examples_normal",
347
+ cache_examples=False,
348
  )
349
 
350
  with gr.Tab("Dichotomous Segmentation"):
 
395
  ],
396
  inputs=[dis_image_input],
397
  outputs=[dis_image_output_slider, dis_image_output_files],
398
+ # cache_examples=True,
399
+ # directory_name="examples_dis",
400
+ cache_examples=False,
401
  )
402
 
403