Real_Time_Interactive_Avatar_v2 / download_models.py
wedyanessam's picture
Update download_models.py
2c639b4 verified
raw
history blame contribute delete
674 Bytes
import subprocess
def run_command(cmd):
print(f"πŸš€ Running: {cmd}")
result = subprocess.run(cmd, shell=True)
if result.returncode != 0:
print(f"❌ Failed: {cmd}")
else:
print(f"βœ… Done: {cmd}")
def main():
run_command("pip install 'huggingface_hub[cli]'")
run_command("huggingface-cli download Wan-AI/Wan2.1-I2V-14B-720P --local-dir ./models/Wan2.1-I2V-14B-720P")
run_command("huggingface-cli download facebook/wav2vec2-base-960h --local-dir ./models/wav2vec2-base-960h")
run_command("huggingface-cli download acvlab/FantasyTalking fantasytalking_model.ckpt --local-dir ./models")
if __name__ == "__main__":
main()