Spaces:
Running
Running
z 5 files
Browse files
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.
|
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.
|