移除冗余的模板预览链接
This commit is contained in:
@@ -279,12 +279,6 @@ def render_style_config(pixelle_video):
|
|||||||
|
|
||||||
# Template preview link (based on language)
|
# Template preview link (based on language)
|
||||||
current_lang = get_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
|
# Import template utilities
|
||||||
from pixelle_video.utils.template_util import get_templates_grouped_by_size_and_type, get_template_type
|
from pixelle_video.utils.template_util import get_templates_grouped_by_size_and_type, get_template_type
|
||||||
|
|||||||
@@ -69,7 +69,6 @@
|
|||||||
"template.selector": "Template Selection",
|
"template.selector": "Template Selection",
|
||||||
"template.select": "Select Template",
|
"template.select": "Select Template",
|
||||||
"template.select_help": "Select template and video size",
|
"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.video_size_info": "Final Video Size: {width} × {height}",
|
||||||
"template.separator_selected": "Please select a specific template, not the group header",
|
"template.separator_selected": "Please select a specific template, not the group header",
|
||||||
"template.default": "Default",
|
"template.default": "Default",
|
||||||
|
|||||||
@@ -69,7 +69,6 @@
|
|||||||
"template.selector": "模板选择",
|
"template.selector": "模板选择",
|
||||||
"template.select": "选择模板",
|
"template.select": "选择模板",
|
||||||
"template.select_help": "选择模板和视频尺寸",
|
"template.select_help": "选择模板和视频尺寸",
|
||||||
"template.preview_link": "查看所有模板效果图",
|
|
||||||
"template.video_size_info": "最终视频尺寸:{width} × {height}",
|
"template.video_size_info": "最终视频尺寸:{width} × {height}",
|
||||||
"template.separator_selected": "请选择具体的模板,而不是分组标题",
|
"template.separator_selected": "请选择具体的模板,而不是分组标题",
|
||||||
"template.default": "默认",
|
"template.default": "默认",
|
||||||
|
|||||||
Reference in New Issue
Block a user