chore: auto-commit (5 archivos)
- CMakeLists.txt - app.md - appicon.ico - backend/ - main.cpp Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
"""Backend Trellis (Microsoft, MIT code).
|
||||
|
||||
STUB. Para implementar: clonar github.com/microsoft/TRELLIS a sources/,
|
||||
instalar deps (kaolin + custom CUDA), cargar pipeline structured latents.
|
||||
"""
|
||||
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(
|
||||
"trellis backend pendiente. Ver notebook 04_smoke_trellis.ipynb"
|
||||
)
|
||||
|
||||
def close(self) -> None: # pragma: no cover
|
||||
return
|
||||
|
||||
|
||||
def load() -> Handle:
|
||||
return Handle()
|
||||
Reference in New Issue
Block a user