jbilcke-hf HF Staff commited on
Commit
7335be0
·
1 Parent(s): b2abf91
Files changed (2) hide show
  1. .claude/settings.local.json +2 -1
  2. app.py +20 -0
.claude/settings.local.json CHANGED
@@ -12,7 +12,8 @@
12
  "Bash(GIT_TRACE=1 git push origin main -f)",
13
  "Bash(git rev-list:*)",
14
  "Bash(git checkout:*)",
15
- "Bash(git branch:*)"
 
16
  ],
17
  "deny": [],
18
  "ask": []
 
12
  "Bash(GIT_TRACE=1 git push origin main -f)",
13
  "Bash(git rev-list:*)",
14
  "Bash(git checkout:*)",
15
+ "Bash(git branch:*)",
16
+ "Bash(grep:*)"
17
  ],
18
  "deny": [],
19
  "ask": []
app.py CHANGED
@@ -64,6 +64,26 @@ def create_args():
64
  args.save_path_suffix = ''
65
  args.add_pos_prompt = "Realistic, High-quality."
66
  args.add_neg_prompt = "overexposed, low quality, deformation, a poor composition, bad hands, bad teeth, bad eyes, bad limbs, distortion, blurring, text, subtitles, static, picture, black border."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  return args
68
 
69
  logger.info("Initializing Hunyuan-GameCraft model...")
 
64
  args.save_path_suffix = ''
65
  args.add_pos_prompt = "Realistic, High-quality."
66
  args.add_neg_prompt = "overexposed, low quality, deformation, a poor composition, bad hands, bad teeth, bad eyes, bad limbs, distortion, blurring, text, subtitles, static, picture, black border."
67
+ args.model = "HYVideo-T/2"
68
+ args.precision = "bf16"
69
+ args.vae = "884-16c-hy0801"
70
+ args.vae_precision = "fp16"
71
+ args.text_encoder = "llava-llama-3-8b"
72
+ args.text_encoder_precision = "fp16"
73
+ args.text_encoder_precision_2 = "fp16"
74
+ args.tokenizer = "llava-llama-3-8b"
75
+ args.text_encoder_2 = "clipL"
76
+ args.tokenizer_2 = "clipL"
77
+ args.latent_channels = 16
78
+ args.text_len = 256
79
+ args.text_len_2 = 77
80
+ args.use_attention_mask = True
81
+ args.hidden_state_skip_layer = 2
82
+ args.apply_final_norm = False
83
+ args.prompt_template_video = "li-dit-encode-video"
84
+ args.reproduce = False
85
+ args.load_key = "module"
86
+
87
  return args
88
 
89
  logger.info("Initializing Hunyuan-GameCraft model...")