From 8463779b6e12cefc4ff0859eed380bee60ef4e1d Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:58:52 +0000 Subject: [PATCH] style: apply ruff formatting Co-Authored-By: Charles Frye --- 06_gpu_and_ml/image-to-3d/trellis3d.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/06_gpu_and_ml/image-to-3d/trellis3d.py b/06_gpu_and_ml/image-to-3d/trellis3d.py index be1010ab6..5f063c708 100644 --- a/06_gpu_and_ml/image-to-3d/trellis3d.py +++ b/06_gpu_and_ml/image-to-3d/trellis3d.py @@ -46,6 +46,7 @@ app = modal.App(name="example-trellis-3d") + @app.cls(gpu="A10G", image=image) class Model: @modal.enter() @@ -88,6 +89,7 @@ def process_image(self, image_path): def generate(self, image_path): return self.process_image(image_path) + @app.local_entrypoint() def main(image_path: str = "path/to/image.jpg"): """Generate a 3D model from an input image.