mirror of
https://github.com/TMElyralab/MuseTalk.git
synced 2026-02-04 17:39:20 +08:00
fix: bug in infer script (#290)
The fix proposed by @Gaozhongpai. Thank you @Gaozhongpai.
This commit is contained in:
@@ -59,13 +59,13 @@ cmd_args="--inference_config $config_path \
|
|||||||
--result_dir $result_dir \
|
--result_dir $result_dir \
|
||||||
--unet_model_path $unet_model_path \
|
--unet_model_path $unet_model_path \
|
||||||
--unet_config $unet_config \
|
--unet_config $unet_config \
|
||||||
--version $version_arg \
|
--version $version_ar"
|
||||||
|
|
||||||
# Add realtime-specific arguments if in realtime mode
|
# Add realtime-specific arguments if in realtime mode
|
||||||
if [ "$mode" = "realtime" ]; then
|
if [ "$mode" = "realtime" ]; then
|
||||||
cmd_args="$cmd_args \
|
cmd_args="$cmd_args \
|
||||||
--fps 25 \
|
--fps 25 \
|
||||||
--version $version_arg \
|
--version $version_arg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run inference
|
# Run inference
|
||||||
|
|||||||
Reference in New Issue
Block a user