diff --git a/web/components/style_config.py b/web/components/style_config.py index 4df81a9..c73737e 100644 --- a/web/components/style_config.py +++ b/web/components/style_config.py @@ -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 diff --git a/web/i18n/locales/en_US.json b/web/i18n/locales/en_US.json index cd924ca..ec64f67 100644 --- a/web/i18n/locales/en_US.json +++ b/web/i18n/locales/en_US.json @@ -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", diff --git a/web/i18n/locales/zh_CN.json b/web/i18n/locales/zh_CN.json index 29b92b6..a979bc6 100644 --- a/web/i18n/locales/zh_CN.json +++ b/web/i18n/locales/zh_CN.json @@ -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": "默认",