Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -660,19 +660,19 @@ def main(device, segment_type):
|
|
660 |
|
661 |
def parse_args():
|
662 |
parser = argparse.ArgumentParser('', add_help=False)
|
663 |
-
parser.add_argument('--pretrained_model', default='/
|
664 |
-
parser.add_argument('--controlnet_path', default='
|
665 |
-
parser.add_argument('--face_adapter_path', default='
|
666 |
-
parser.add_argument('--openpose_checkpoint', default='
|
667 |
-
parser.add_argument('--canny_checkpoint', default='
|
668 |
-
parser.add_argument('--depth_checkpoint', default='
|
669 |
-
parser.add_argument('--dpt_checkpoint', default='
|
670 |
parser.add_argument('--pose_detector_checkpoint',
|
671 |
-
default='
|
672 |
-
parser.add_argument('--efficientViT_checkpoint', default='
|
673 |
-
parser.add_argument('--dino_checkpoint', default='
|
674 |
-
parser.add_argument('--sam_checkpoint', default='
|
675 |
-
parser.add_argument('--antelopev2_path', default='
|
676 |
parser.add_argument('--save_dir', default='results/instantID', type=str)
|
677 |
parser.add_argument('--prompt', default='Close-up photo of the cool man and beautiful woman as they accidentally discover a mysterious island while on vacation by the sea, facing the camera smiling, 35mm photograph, film, professional, 4k, highly detailed.', type=str)
|
678 |
parser.add_argument('--negative_prompt', default='noisy, blurry, soft, deformed, ugly', type=str)
|
|
|
660 |
|
661 |
def parse_args():
|
662 |
parser = argparse.ArgumentParser('', add_help=False)
|
663 |
+
parser.add_argument('--pretrained_model', default='wangqixun/YamerMIX_v8', type=str)
|
664 |
+
parser.add_argument('--controlnet_path', default='./checkpoint/InstantID/ControlNetModel', type=str)
|
665 |
+
parser.add_argument('--face_adapter_path', default='./checkpoint/InstantID/ip-adapter.bin', type=str)
|
666 |
+
parser.add_argument('--openpose_checkpoint', default='thibaud/controlnet-openpose-sdxl-1.0', type=str)
|
667 |
+
parser.add_argument('--canny_checkpoint', default='diffusers/controlnet-canny-sdxl-1.0', type=str)
|
668 |
+
parser.add_argument('--depth_checkpoint', default='diffusers/controlnet-depth-sdxl-1.0', type=str)
|
669 |
+
parser.add_argument('--dpt_checkpoint', default='Intel/dpt-hybrid-midas', type=str)
|
670 |
parser.add_argument('--pose_detector_checkpoint',
|
671 |
+
default='./checkpoint/ControlNet/annotator/ckpts/body_pose_model.pth', type=str)
|
672 |
+
parser.add_argument('--efficientViT_checkpoint', default='./checkpoint/sam/xl1.pt', type=str)
|
673 |
+
parser.add_argument('--dino_checkpoint', default='./checkpoint/GroundingDINO', type=str)
|
674 |
+
parser.add_argument('--sam_checkpoint', default='./checkpoint/sam/sam_vit_h_4b8939.pth', type=str)
|
675 |
+
parser.add_argument('--antelopev2_path', default='./checkpoint/antelopev2', type=str)
|
676 |
parser.add_argument('--save_dir', default='results/instantID', type=str)
|
677 |
parser.add_argument('--prompt', default='Close-up photo of the cool man and beautiful woman as they accidentally discover a mysterious island while on vacation by the sea, facing the camera smiling, 35mm photograph, film, professional, 4k, highly detailed.', type=str)
|
678 |
parser.add_argument('--negative_prompt', default='noisy, blurry, soft, deformed, ugly', type=str)
|