ethanhe commited on
Commit
553ff1b
·
verified ·
1 Parent(s): 5c48668

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
 
2
  ![Cosmos Logo](https://github.com/NVIDIA/Cosmos/raw/main/assets/cosmos-logo.png)
3
 
 
1
+ ```python
2
+ model = AutoModel.from_pretrained("Nvidia-CMU25/AutoregressiveFutureWorld",
3
+ ar_model_dir = "Cosmos-1.0-Autoregressive-4B",
4
+ offload_guardrail_models = True,
5
+ trust_remote_code = True)
6
+
7
+ model(input_type = "video",
8
+ input_image_or_video_path = "/some/path/Cosmos/cosmos1/models/autoregressive/assets/v1p0/input.mp4",
9
+ )
10
+ ```
11
 
12
  ![Cosmos Logo](https://github.com/NVIDIA/Cosmos/raw/main/assets/cosmos-logo.png)
13