Source: Dreamverse repo at will/integrate-public-fastvideo @ ec8ef92.\n\nCarry the generic-merged backend modules as Dreamverse product-local code because the public streaming APIs are not drop-in compatible with the product runtime yet. Revert the Phase 2 public compatibility shims so FastVideo's public streaming surface returns to the pre-migration state.\n\nCo-authored-by: Junda (David) Su <90978028+Davids048@users.noreply.github.com>\nCo-authored-by: Matthew Noto <99706358+RandNMR73@users.noreply.github.com>\nCo-authored-by: XOR-op <17672363+XOR-op@users.noreply.github.com>\nCo-authored-by: Zhang Peiyuan <42993249+jzhang38@users.noreply.github.com>
15 lines
442 B
Python
15 lines
442 B
Python
# pyright: reportMissingTypeArgument=false
|
|
from __future__ import annotations
|
|
|
|
|
|
def cli() -> None:
|
|
try:
|
|
from main import cli as main_cli
|
|
except ModuleNotFoundError as exc:
|
|
if exc.name in {"fastvideo", "torch", "safetensors"}:
|
|
raise SystemExit("dreamverse-server requires the Python backend extra. "
|
|
"Run `uv sync --extra server` first.") from exc
|
|
raise
|
|
|
|
main_cli()
|