developy commited on
Commit
10cc12f
·
verified ·
1 Parent(s): 7261a9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,9 +12,9 @@ from transformers import CLIPTextModel, CLIPTokenizer
12
  from apdepth.marigold_pipeline import MarigoldPipeline
13
  from apdepth.modules.unet_2d_condition import UNet2DConditionModel
14
 
15
- def load_example(in-the-wiled_example-1):
16
  # 返回选中的图片
17
- return in-the-wiled_example-1
18
 
19
 
20
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
12
  from apdepth.marigold_pipeline import MarigoldPipeline
13
  from apdepth.modules.unet_2d_condition import UNet2DConditionModel
14
 
15
+ def load_example(example_images):
16
  # 返回选中的图片
17
+ return example_images
18
 
19
 
20
  device = "cuda" if torch.cuda.is_available() else "cpu"