File size: 885 Bytes
19583ce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"

# Inference-only fork of https://github.com/showlab/O2LaF for the O2LaF demo
# Space: wan_dit action encoder + bidirectional/causal world model, no training.
[project]
name = "o2laf"
version = "0.1.0+demo"
description = "O2LaF inference: latent actions and action-conditioned world models on Wan 2.2"
readme = "README.md"
license = "MIT AND Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.10"
dependencies = [
    "torch>=2.8",
    "av",
    "diffusers==0.39.0",
    "huggingface_hub",
    "imageio",
    "imageio-ffmpeg",
    "numpy",
    "opencv-python-headless",
    "peft==0.17.0",
    "Pillow",
    "safetensors",
    "transformers==4.49.0",
]

[tool.setuptools.packages.find]
include = ["o2laf*"]

[tool.setuptools.package-data]
"o2laf" = ["assets/prompt_embeds/*.safetensors"]