Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -187,31 +187,24 @@ def do_inference(input_3d, sample_seed=0, do_sampling=False, do_marching_cubes=F
|
|
187 |
|
188 |
|
189 |
_HEADER_ = '''
|
190 |
-
<h2><b>Official
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
Code: <a href='https://github.com/buaacyw/MeshAnything' target='_blank'>GitHub</a>. Arxiv Paper: <a href='https://arxiv.org/abs/2406.10163' target='_blank'>ArXiv</a>.
|
195 |
-
|
196 |
-
??????**Important Notes:**
|
197 |
- Gradio doesn't support interactive wireframe rendering currently. For interactive mesh visualization, please use download the obj file and open it with MeshLab or https://3dviewer.net/.
|
198 |
- The input mesh will be normalized to a unit bounding box. The up vector of the input mesh should be +Y for better results. Click **Preprocess with Marching Cubes** if the input mesh is a manually created mesh.
|
199 |
-
- Limited by computational resources, MeshAnything is trained on meshes with fewer than
|
200 |
-
- For point cloud input, please refer to our github repo <a href='https://github.com/buaacyw/
|
201 |
'''
|
202 |
|
203 |
|
204 |
_CITE_ = r"""
|
205 |
-
If
|
206 |
---
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
? **Contact**
|
212 |
-
|
213 |
If you have any questions, feel free to open a discussion or contact us at <b>yiwen002@e.ntu.edu.sg</b>.
|
214 |
-
|
215 |
"""
|
216 |
output_model_obj = gr.Model3D(
|
217 |
label="Generated Mesh (OBJ Format)",
|
|
|
187 |
|
188 |
|
189 |
_HEADER_ = '''
|
190 |
+
<h2><b>Official 🤗 Gradio Demo</b></h2><h2><a href='https://github.com/buaacyw/MeshAnything' target='_blank'><b>MeshAnything V2: Artist-Created Mesh Generation With Adjacent Mesh Tokenization</b></a></h2>
|
191 |
+
**MeshAnythingV2** converts any 3D representation into meshes created by human artists, i.e., Artist-Created Meshes (AMs).
|
192 |
+
Code: <a href='https://github.com/buaacyw/MeshAnythingV2' target='_blank'>GitHub</a>. Arxiv Paper: <a href='https://arxiv.org/abs/2406.10163' target='_blank'>ArXiv</a>.
|
193 |
+
❗️❗️❗️**Important Notes:**
|
|
|
|
|
|
|
194 |
- Gradio doesn't support interactive wireframe rendering currently. For interactive mesh visualization, please use download the obj file and open it with MeshLab or https://3dviewer.net/.
|
195 |
- The input mesh will be normalized to a unit bounding box. The up vector of the input mesh should be +Y for better results. Click **Preprocess with Marching Cubes** if the input mesh is a manually created mesh.
|
196 |
+
- Limited by computational resources, MeshAnything is trained on meshes with fewer than 1600 faces and cannot generate meshes with more than 1600 faces. The shape of the input mesh should be sharp enough; otherwise, it will be challenging to represent it with only 1600 faces. Thus, feed-forward image-to-3D methods may often produce bad results due to insufficient shape quality.
|
197 |
+
- For point cloud input, please refer to our github repo <a href='https://github.com/buaacyw/MeshAnythingV2' target='_blank'>GitHub</a>.
|
198 |
'''
|
199 |
|
200 |
|
201 |
_CITE_ = r"""
|
202 |
+
If MeshAnythingV2 is helpful, please help to ⭐ the <a href='https://github.com/buaacyw/MeshAnythingV2' target='_blank'>Github Repo</a>. Thanks!
|
203 |
---
|
204 |
+
📋 **License**
|
205 |
+
MIT LICENSE.
|
206 |
+
📧 **Contact**
|
|
|
|
|
|
|
207 |
If you have any questions, feel free to open a discussion or contact us at <b>yiwen002@e.ntu.edu.sg</b>.
|
|
|
208 |
"""
|
209 |
output_model_obj = gr.Model3D(
|
210 |
label="Generated Mesh (OBJ Format)",
|