jkorstad commited on
Commit
1cea118
β€’
1 Parent(s): 07a24d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -1,10 +1,10 @@
1
  import spaces
2
-
3
  import os
4
  import imageio
5
  import numpy as np
6
  import torch
7
  import rembg
 
8
  from PIL import Image
9
  from torchvision.transforms import v2
10
  from pytorch_lightning import seed_everything
@@ -244,14 +244,12 @@ def make3d(images):
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
 
@@ -276,7 +274,7 @@ Apache-2.0 LICENSE. Please refer to the [LICENSE file](https://huggingface.co/sp
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
 
 
1
  import spaces
 
2
  import os
3
  import imageio
4
  import numpy as np
5
  import torch
6
  import rembg
7
+
8
  from PIL import Image
9
  from torchvision.transforms import v2
10
  from pytorch_lightning import seed_everything
 
244
 
245
 
246
  _HEADER_ = '''
 
 
247
  **InstantMesh** is a feed-forward framework for efficient 3D mesh generation from a single image based on the LRM/Instant3D architecture.
248
 
249
  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>.
250
 
251
  ❗️❗️❗️**Important Notes:**
252
+ - The 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>.
253
  - 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).
254
  '''
255
 
 
274
 
275
  πŸ“§ **Contact**
276
 
277
+ If you have any questions, feel free to open a discussion or contact the creators at <b>[email protected]</b>.
278
  """
279
 
280