Skip to content

Commit 3a164c1

Browse files
authored
Merge pull request #47 from SkyworkAI/fixbug/prompt_enhancer
comment out redundant code
2 parents 5fd9745 + b36b6a6 commit 3a164c1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

generate_video.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,6 @@
131131
teacache_thresh=args.teacache_thresh, use_ret_steps=args.use_ret_steps,
132132
ckpt_dir=args.model_id)
133133

134-
prompt_input = args.prompt
135-
if args.prompt_enhancer and image is not None:
136-
prompt_input = prompt_enhancer(prompt_input)
137-
print(f"enhanced prompt: {prompt_input}")
138134

139135
kwargs = {
140136
"prompt": prompt_input,

0 commit comments

Comments
 (0)