移除冗余的模板预览链接

This commit is contained in:
puke
2025-12-08 15:51:58 +08:00
parent 447c2f4b1c
commit ea48c4838c
3 changed files with 0 additions and 8 deletions

View File

@@ -279,12 +279,6 @@ def render_style_config(pixelle_video):
# Template preview link (based on language)
current_lang = get_language()
if current_lang == "zh_CN":
template_docs_url = "https://aidc-ai.github.io/Pixelle-Video/zh/user-guide/templates/#_3"
else:
template_docs_url = "https://aidc-ai.github.io/Pixelle-Video/user-guide/templates/#built-in-template-preview"
st.markdown(f"🔗 [{tr('template.preview_link')}]({template_docs_url})")
# Import template utilities
from pixelle_video.utils.template_util import get_templates_grouped_by_size_and_type, get_template_type

View File

@@ -69,7 +69,6 @@
"template.selector": "Template Selection",
"template.select": "Select Template",
"template.select_help": "Select template and video size",
"template.preview_link": "View All Template Previews",
"template.video_size_info": "Final Video Size: {width} × {height}",
"template.separator_selected": "Please select a specific template, not the group header",
"template.default": "Default",

View File

@@ -69,7 +69,6 @@
"template.selector": "模板选择",
"template.select": "选择模板",
"template.select_help": "选择模板和视频尺寸",
"template.preview_link": "查看所有模板效果图",
"template.video_size_info": "最终视频尺寸:{width} × {height}",
"template.separator_selected": "请选择具体的模板,而不是分组标题",
"template.default": "默认",