Update app.py
Browse files
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(
|
| 16 |
# 返回选中的图片
|
| 17 |
-
return
|
| 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(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"
|