Skip to content

Commit

Permalink
style: apply ruff formatting
Browse files Browse the repository at this point in the history
Co-Authored-By: Charles Frye <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and charlesfrye committed Dec 18, 2024
1 parent 1a30985 commit 8463779
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 06_gpu_and_ml/image-to-3d/trellis3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

app = modal.App(name="example-trellis-3d")


@app.cls(gpu="A10G", image=image)
class Model:
@modal.enter()
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 8463779

Please sign in to comment.