Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -243,42 +243,6 @@ def make3d(images):
|
|
243 |
return mesh_fpath, mesh_glb_fpath
|
244 |
|
245 |
|
246 |
-
_HEADER_ = '''
|
247 |
-
<h2><b>Official 🤗 Gradio Demo</b></h2><h2><a href='https://github.com/TencentARC/InstantMesh' target='_blank'><b>InstantMesh: Efficient 3D Mesh Generation from a Single Image with Sparse-view Large Reconstruction Models</b></a></h2>
|
248 |
-
|
249 |
-
**InstantMesh** is a feed-forward framework for efficient 3D mesh generation from a single image based on the LRM/Instant3D architecture.
|
250 |
-
|
251 |
-
Code: <a href='https://github.com/TencentARC/InstantMesh' target='_blank'>GitHub</a>. Techenical report: <a href='https://arxiv.org/abs/2404.07191' target='_blank'>ArXiv</a>.
|
252 |
-
|
253 |
-
❗️❗️❗️**Important Notes:**
|
254 |
-
- Our demo can export a .obj mesh with vertex colors or a .glb mesh now. If you prefer to export a .obj mesh with a **texture map**, please refer to our <a href='https://github.com/TencentARC/InstantMesh?tab=readme-ov-file#running-with-command-line' target='_blank'>Github Repo</a>.
|
255 |
-
- The 3D mesh generation results highly depend on the quality of generated multi-view images. Please try a different **seed value** if the result is unsatisfying (Default: 42).
|
256 |
-
'''
|
257 |
-
|
258 |
-
_CITE_ = r"""
|
259 |
-
If InstantMesh is helpful, please help to ⭐ the <a href='https://github.com/TencentARC/InstantMesh' target='_blank'>Github Repo</a>. Thanks! [](https://github.com/TencentARC/InstantMesh)
|
260 |
-
---
|
261 |
-
📝 **Citation**
|
262 |
-
|
263 |
-
If you find our work useful for your research or applications, please cite using this bibtex:
|
264 |
-
```bibtex
|
265 |
-
@article{xu2024instantmesh,
|
266 |
-
title={InstantMesh: Efficient 3D Mesh Generation from a Single Image with Sparse-view Large Reconstruction Models},
|
267 |
-
author={Xu, Jiale and Cheng, Weihao and Gao, Yiming and Wang, Xintao and Gao, Shenghua and Shan, Ying},
|
268 |
-
journal={arXiv preprint arXiv:2404.07191},
|
269 |
-
year={2024}
|
270 |
-
}
|
271 |
-
```
|
272 |
-
|
273 |
-
📋 **License**
|
274 |
-
|
275 |
-
Apache-2.0 LICENSE. Please refer to the [LICENSE file](https://huggingface.co/spaces/TencentARC/InstantMesh/blob/main/LICENSE) for details.
|
276 |
-
|
277 |
-
📧 **Contact**
|
278 |
-
|
279 |
-
If you have any questions, feel free to open a discussion or contact us at <b>[email protected]</b>.
|
280 |
-
"""
|
281 |
-
|
282 |
|
283 |
with gr.Blocks() as demo:
|
284 |
gr.Markdown(_HEADER_)
|
|
|
243 |
return mesh_fpath, mesh_glb_fpath
|
244 |
|
245 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
|
247 |
with gr.Blocks() as demo:
|
248 |
gr.Markdown(_HEADER_)
|