Yiwen-ntu commited on
Commit
d1abb59
1 Parent(s): 9e5f025

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -17
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 ? 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
-
192
- **MeshAnything** converts any 3D representation into meshes created by human artists, i.e., Artist-Created Meshes (AMs).
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 800 faces and cannot generate meshes with more than 800 faces. The shape of the input mesh should be sharp enough; otherwise, it will be challenging to represent it with only 800 faces. Thus, feed-forward image-to-3D methods may often produce bad results due to insufficient shape quality.
200
- - For point cloud input, please refer to our github repo <a href='https://github.com/buaacyw/MeshAnything' target='_blank'>GitHub</a>.
201
  '''
202
 
203
 
204
  _CITE_ = r"""
205
- If MeshAnything is helpful, please help to ? the <a href='https://github.com/buaacyw/MeshAnything' target='_blank'>Github Repo</a>. Thanks!
206
  ---
207
- ? **License**
208
-
209
- S-Lab-1.0 LICENSE. Please refer to the [LICENSE file](https://github.com/buaacyw/GaussianEditor/blob/master/LICENSE.txt) for details.
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)",