Update app.py
Browse files11 unmodified lines121314151516171718192011 unmodified linesfrom apdepth.marigold_pipeline import MarigoldPipelinefrom apdepth.modules.unet_2d_condition import UNet2DConditionModel
def load_example(example_image):def load_example(in-the-wiled_example-1): # 返回选中的图片 return example_image return in-the-wiled_example-1
device = "cuda" if torch.cuda.is_available() else "cpu"app.py+2-2