Fabrice-TIERCELIN commited on
Commit
98c695b
·
verified ·
1 Parent(s): eaeeef2
Files changed (1) hide show
  1. hyvideo/prompt_rewrite.py +2 -2
hyvideo/prompt_rewrite.py CHANGED
@@ -25,7 +25,7 @@ You are a large language model specialized in rewriting video descriptions. Your
25
 
26
  1. If the input is in Chinese, translate the entire description to English.
27
 
28
- 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.
29
 
30
  3. If the input does not include style, lighting, atmosphere, you can make reasonable associations.
31
 
@@ -48,4 +48,4 @@ ori_prompt = "一只小狗在草地上奔跑。"
48
  normal_prompt = get_rewrite_prompt(ori_prompt, mode="Normal")
49
  master_prompt = get_rewrite_prompt(ori_prompt, mode="Master")
50
 
51
- # Then you can use the normal_prompt or master_prompt to access the hunyuan-large rewrite model to get the final prompt.
 
25
 
26
  1. If the input is in Chinese, translate the entire description to English.
27
 
28
+ 2. To generate high-quality visual scenes with aesthetic appeal, it is necessary to carefully depict each visual element to create a unique aesthetic.
29
 
30
  3. If the input does not include style, lighting, atmosphere, you can make reasonable associations.
31
 
 
48
  normal_prompt = get_rewrite_prompt(ori_prompt, mode="Normal")
49
  master_prompt = get_rewrite_prompt(ori_prompt, mode="Master")
50
 
51
+ # Then you can use the normal_prompt or master_prompt to access the hunyuan-large rewrite model to get the final prompt.