Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files- app_image_to_3d.py +2 -0
- app_text_to_3d.py +2 -0
app_image_to_3d.py
CHANGED
@@ -64,6 +64,8 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
64 |
inputs=image,
|
65 |
outputs=result,
|
66 |
fn=process_example_fn,
|
|
|
|
|
67 |
)
|
68 |
|
69 |
run_button.click(
|
|
|
64 |
inputs=image,
|
65 |
outputs=result,
|
66 |
fn=process_example_fn,
|
67 |
+
cache_examples=True,
|
68 |
+
cache_mode="lazy",
|
69 |
)
|
70 |
|
71 |
run_button.click(
|
app_text_to_3d.py
CHANGED
@@ -70,6 +70,8 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
70 |
inputs=prompt,
|
71 |
outputs=result,
|
72 |
fn=process_example_fn,
|
|
|
|
|
73 |
)
|
74 |
|
75 |
gr.on(
|
|
|
70 |
inputs=prompt,
|
71 |
outputs=result,
|
72 |
fn=process_example_fn,
|
73 |
+
cache_examples=True,
|
74 |
+
cache_mode="lazy",
|
75 |
)
|
76 |
|
77 |
gr.on(
|