Spaces:
Sleeping

O2LaF-Demo / O2LaF /pyproject.toml
blanchon's picture
fix first-frame anchor + atomic crash; load models once; vendor trimmed o2laf
19583ce
Raw History Blame Contribute Delete
885 Bytes
[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"]