HunyuanVideo: A Systematic Framework For Large Video Generation Model
Update prompt_rewrite.py
Tian Qia9b44625dfaf
diff --git a/hyvideo/prompt_rewrite.py b/hyvideo/prompt_rewrite.pyindex 974c452..3fe8a85 100644--- a/hyvideo/prompt_rewrite.py+++ b/hyvideo/prompt_rewrite.py@@ -25,7 +25,7 @@ You are a large language model specialized in rewriting video descriptions. Your1. If the input is in Chinese, translate the entire description to English.-2. If the input is just one or two words describing an object or person, provide a brief, simple description focusing on basic visual characteristics. Limit the description to 1-2 short sentences.+2. To generate high-quality visual scenes with aesthetic appeal, it is necessary to carefully depict each visual element to create a unique aesthetic.3. If the input does not include style, lighting, atmosphere, you can make reasonable associations.@@ -48,4 +48,4 @@ ori_prompt = "一只小狗在草地上奔跑。"normal_prompt = get_rewrite_prompt(ori_prompt, mode="Normal")master_prompt = get_rewrite_prompt(ori_prompt, mode="Master")-# Then you can use the normal_prompt or master_prompt to access the hunyuan-large rewrite model to get the final prompt.\ No newline at end of file+# Then you can use the normal_prompt or master_prompt to access the hunyuan-large rewrite model to get the final prompt.