blt/download_blt_weights.py
Pedro Rodriguez eb1f0fc318 Fix demo.py
Summary:

Test Plan:
2025-05-20 18:52:17 +00:00

14 lines
272 B
Python

import os
import typer
from huggingface_hub import snapshot_download
def main():
if not os.path.exists("hf-weights"):
os.makedirs("hf-weights")
snapshot_download(f"facebook/blt", local_dir=f"hf-weights")
if __name__ == "__main__":
typer.run(main)