修改国际化配置文件
This commit is contained in:
1 parent
4a468396de
commit
2205a5a65b
2 files changed
+12
-12
No files matched your search
@@ -484,7 +484,7 @@
|
||||
"action_transfer.assets.image_upload": "上传迁移动作的图片",
|
||||
"action_transfer.assets.image_upload_help": "仅支持单张图片上传,图片为单人时效果最佳",
|
||||
"action_transfer.assets.image_sucess": "上传素材成功",
|
||||
"action_transfer.assets.image_empty_hint": "💡 请上传一个动作迁移的参考视频",
|
||||
"action_transfer.assets.image_empty_hint": "💡 请上传一个需要迁移动作的图片",
|
||||
"action_transfer.input_text": "视频提示词",
|
||||
"action_transfer.input.topic_placeholder" : "输入创作提示词(例如:模仿参考视频跳舞,位置不变,步伐一致且整齐等)",
|
||||
"action_transfer.workflow_select": "动作迁移工作流选择(包含本地和runninghub)",
|
||||
|
||||
@@ -237,17 +237,6 @@ class ActionTransferPipelineUI(PipelineUI):
|
||||
|
||||
logger.info(f" - video_params: {video_params}")
|
||||
|
||||
if not image_assets:
|
||||
st.info(tr("action_transfer.assets.image_warning"))
|
||||
st.button(
|
||||
tr("btn.generate"),
|
||||
type="primary",
|
||||
use_container_width=True,
|
||||
disabled=True,
|
||||
key="action_transfer_generate_image_disabled"
|
||||
)
|
||||
return
|
||||
|
||||
if not video_assets:
|
||||
st.info(tr("action_transfer.assets.video_warning"))
|
||||
st.button(
|
||||
@@ -259,6 +248,17 @@ class ActionTransferPipelineUI(PipelineUI):
|
||||
)
|
||||
return
|
||||
|
||||
if not image_assets:
|
||||
st.info(tr("action_transfer.assets.image_warning"))
|
||||
st.button(
|
||||
tr("btn.generate"),
|
||||
type="primary",
|
||||
use_container_width=True,
|
||||
disabled=True,
|
||||
key="action_transfer_generate_image_disabled"
|
||||
)
|
||||
return
|
||||
|
||||
if not prompt_text:
|
||||
st.info(tr("action_transfer.assets.prompt_warning"))
|
||||
st.button(
|
||||
|
||||
Reference in new issue
Block a user