Spaces:
Runtime error
Runtime error
dylanebert
commited on
Commit
·
151ca51
1
Parent(s):
edefd31
add title, description, caching
Browse files
app.py
CHANGED
|
@@ -34,10 +34,13 @@ def run(image):
|
|
| 34 |
|
| 35 |
demo = gr.Interface(
|
| 36 |
fn=run,
|
|
|
|
|
|
|
| 37 |
inputs="image",
|
| 38 |
outputs=gr.Model3D(),
|
| 39 |
examples=[
|
| 40 |
"https://huggingface.co/datasets/dylanebert/iso3d/resolve/main/jpg@512/a_cat_statue.jpg"
|
| 41 |
],
|
|
|
|
| 42 |
)
|
| 43 |
demo.queue().launch()
|
|
|
|
| 34 |
|
| 35 |
demo = gr.Interface(
|
| 36 |
fn=run,
|
| 37 |
+
title="LGM Tiny",
|
| 38 |
+
description="An extremely simplified version of [LGM](https://huggingface.co/ashawkey/LGM). Intended as resource for the [ML for 3D Course](https://huggingface.co/learn/ml-for-3d-course/unit0/introduction).",
|
| 39 |
inputs="image",
|
| 40 |
outputs=gr.Model3D(),
|
| 41 |
examples=[
|
| 42 |
"https://huggingface.co/datasets/dylanebert/iso3d/resolve/main/jpg@512/a_cat_statue.jpg"
|
| 43 |
],
|
| 44 |
+
cache_examples=True,
|
| 45 |
)
|
| 46 |
demo.queue().launch()
|