Julian Bilcke commited on
Commit
82b1c1d
·
1 Parent(s): f09566f

small clean-up

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -45,11 +45,11 @@ class Args:
45
  self.device = 'cuda:0'
46
  self.num_nodes = 1
47
  self.dtype = 'bf16'
48
- self.exp_path = str(Path(os.environ.get('MODELS_DIR', 'pretrained_models')) / "OmniAvatar-1.3B")
49
- self.dit_path = str(Path(os.environ.get('MODELS_DIR', 'pretrained_models')) / "Wan2.1-T2V-1.3B/diffusion_pytorch_model.safetensors")
50
- self.text_encoder_path = str(Path(os.environ.get('MODELS_DIR', 'pretrained_models')) / "Wan2.1-T2V-1.3B/models_t5_umt5-xxl-enc-bf16.pth")
51
- self.vae_path = str(Path(os.environ.get('MODELS_DIR', 'pretrained_models')) / "Wan2.1-T2V-1.3B/Wan2.1_VAE.pth")
52
- self.wav2vec_path = str(Path(os.environ.get('MODELS_DIR', 'pretrained_models')) / "wav2vec2-base-960h")
53
  self.train_architecture = 'lora'
54
  self.lora_rank = 128
55
  self.lora_alpha = 64.0
 
45
  self.device = 'cuda:0'
46
  self.num_nodes = 1
47
  self.dtype = 'bf16'
48
+ self.exp_path = str(MODELS_DIR / "OmniAvatar-1.3B")
49
+ self.dit_path = str(MODELS_DIR / "Wan2.1-T2V-1.3B/diffusion_pytorch_model.safetensors")
50
+ self.text_encoder_path = str(MODELS_DIR / "Wan2.1-T2V-1.3B/models_t5_umt5-xxl-enc-bf16.pth")
51
+ self.vae_path = str(MODELS_DIR / "Wan2.1-T2V-1.3B/Wan2.1_VAE.pth")
52
+ self.wav2vec_path = str(MODELS_DIR / "wav2vec2-base-960h")
53
  self.train_architecture = 'lora'
54
  self.lora_rank = 128
55
  self.lora_alpha = 64.0