A newer version of the Gradio SDK is available:
5.20.0
Put all your models (Wan2.1-T2V-1.3B, Wan2.1-T2V-14B, Wan2.1-I2V-14B-480P, Wan2.1-I2V-14B-720P) in a folder and specify the max GPU number you want to use.
bash ./test.sh <local model dir> <gpu number>