Spaces:
Runtime error
Runtime error
jiawi-ren
commited on
Commit
·
501498b
1
Parent(s):
0feaa66
fix caching
Browse files
app.py
CHANGED
|
@@ -65,6 +65,9 @@ if __name__ == "__main__":
|
|
| 65 |
with gr.Row():
|
| 66 |
with gr.Column(scale=1):
|
| 67 |
gr.Markdown('# ' + _TITLE)
|
|
|
|
|
|
|
|
|
|
| 68 |
gr.Markdown(_DESCRIPTION)
|
| 69 |
|
| 70 |
# Image-to-3D
|
|
@@ -83,7 +86,7 @@ if __name__ == "__main__":
|
|
| 83 |
examples=examples_full, # NOTE: elements must match inputs list!
|
| 84 |
inputs=[image_block],
|
| 85 |
outputs=[image_block],
|
| 86 |
-
cache_examples=
|
| 87 |
label='Examples (click one of the images below to start)',
|
| 88 |
examples_per_page=40
|
| 89 |
)
|
|
|
|
| 65 |
with gr.Row():
|
| 66 |
with gr.Column(scale=1):
|
| 67 |
gr.Markdown('# ' + _TITLE)
|
| 68 |
+
with gr.Column(scale=0):
|
| 69 |
+
gr.DuplicateButton(value='Duplicate Space for private use',
|
| 70 |
+
elem_id='duplicate-button')
|
| 71 |
gr.Markdown(_DESCRIPTION)
|
| 72 |
|
| 73 |
# Image-to-3D
|
|
|
|
| 86 |
examples=examples_full, # NOTE: elements must match inputs list!
|
| 87 |
inputs=[image_block],
|
| 88 |
outputs=[image_block],
|
| 89 |
+
cache_examples=False,
|
| 90 |
label='Examples (click one of the images below to start)',
|
| 91 |
examples_per_page=40
|
| 92 |
)
|