feishen29 commited on
Commit
860c438
·
verified ·
1 Parent(s): dce7682

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -49,19 +49,19 @@ parser.add_argument('--if_ipa', type=bool, default=True)
49
  parser.add_argument('--if_control', type=bool, default=True)
50
 
51
  parser.add_argument('--pretrained_model_name_or_path',
52
- default="/home/sf/Realistic_Vision_V4.0_noVAE",
53
  type=str)
54
  parser.add_argument('--ip_ckpt',
55
- default="/home/sf/ip_adapter/ip-adapter-faceid-plus_sd15.bin",
56
  type=str)
57
  parser.add_argument('--pretrained_image_encoder_path',
58
- default="/home/sf/ip_adapter/image_encoder/",
59
  type=str)
60
  parser.add_argument('--pretrained_vae_model_path',
61
- default="/home/sf/sd-vae-ft-mse/",
62
  type=str)
63
  parser.add_argument('--model_ckpt',
64
- default="/home/sf/weights/sd_stage2/mp_rank_00_model_states_0628.pt",
65
  type=str)
66
  parser.add_argument('--output_path', type=str, default="./output_ipa_control_resampler")
67
  # parser.add_argument('--device', type=str, default="cuda:0")
 
49
  parser.add_argument('--if_control', type=bool, default=True)
50
 
51
  parser.add_argument('--pretrained_model_name_or_path',
52
+ default="./ckpt/Realistic_Vision_V4.0_noVAE",
53
  type=str)
54
  parser.add_argument('--ip_ckpt',
55
+ default="./ckpt/ip-adapter-faceid-plus_sd15.bin",
56
  type=str)
57
  parser.add_argument('--pretrained_image_encoder_path',
58
+ default="./ckpt/image_encoder/",
59
  type=str)
60
  parser.add_argument('--pretrained_vae_model_path',
61
+ default="./ckpt/sd-vae-ft-mse/",
62
  type=str)
63
  parser.add_argument('--model_ckpt',
64
+ default="/./ckpt/IMAGDressing-v1_512.pt",
65
  type=str)
66
  parser.add_argument('--output_path', type=str, default="./output_ipa_control_resampler")
67
  # parser.add_argument('--device', type=str, default="cuda:0")