d3c83053f2
- CMakeLists.txt - app.md - appicon.ico - backend/ - main.cpp Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
24 lines
591 B
Python
24 lines
591 B
Python
"""Backend Hunyuan3D-2 (Tencent, Community License).
|
|
|
|
STUB. Para implementar: clonar github.com/Tencent/Hunyuan3D-2 a sources/,
|
|
instalar deps, cargar pipeline shape + texture.
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
from typing import Any, Dict
|
|
from PIL import Image
|
|
|
|
|
|
class Handle:
|
|
def infer(self, image: Image.Image, cfg: Dict[str, Any]) -> bytes:
|
|
raise NotImplementedError(
|
|
"hunyuan3d-2 backend pendiente. Ver notebook 03_smoke_hunyuan3d.ipynb"
|
|
)
|
|
|
|
def close(self) -> None: # pragma: no cover
|
|
return
|
|
|
|
|
|
def load() -> Handle:
|
|
return Handle()
|