1 Star 0 Fork 2

hello365/Moore-AnimateAnyone

forked from 烈风/Moore-AnimateAnyone 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run_VidControlnetAux_gui.bash 596 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
input_path="./assets/cai-xukun.mp4"
output_path="./outputs/"
# 进入脚本所在目录
cd "$(dirname "$0")"
# 激活虚拟环境
source venv/bin/activate
# 设置环境变量
export HF_HOME="./huggingface"
export XFORMERS_FORCE_DISABLE_TRITON="1"
#export PYTHONPATH="$PWD"
# 构造额外的参数列表
ext_args=()
if [ "$input_path" ]; then
ext_args+=("-i=$input_path")
fi
if [ "$output_path" ]; then
ext_args+=("-o=$output_path")
fi
# 执行 Python 脚本
HF_ENDPOINT=https://hf-mirror.com python "video_controlnet_aux/src/video_controlnet_aux.py" "${ext_args[@]}"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/hello-365/moore-animate-anyone.git
git@gitee.com:hello-365/moore-animate-anyone.git
hello-365
moore-animate-anyone
Moore-AnimateAnyone
master

搜索帮助