Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ from trellis.pipelines import TrellisImageTo3DPipeline,TrellisTextTo3DPipeline
|
|
8 |
from trellis.utils import render_utils, postprocessing_utils
|
9 |
import trimesh
|
10 |
from trimesh.exchange.gltf import export_glb
|
11 |
-
import numpy as np
|
12 |
import tempfile
|
13 |
import copy
|
14 |
import plotly.graph_objs as go
|
@@ -17,6 +16,7 @@ import plotly.express as px
|
|
17 |
import random
|
18 |
import open3d as o3d
|
19 |
from huggingface_hub import hf_hub_download
|
|
|
20 |
|
21 |
def _remove_image_special(text):
|
22 |
text = text.replace('<ref>', '').replace('</ref>', '')
|
|
|
8 |
from trellis.utils import render_utils, postprocessing_utils
|
9 |
import trimesh
|
10 |
from trimesh.exchange.gltf import export_glb
|
|
|
11 |
import tempfile
|
12 |
import copy
|
13 |
import plotly.graph_objs as go
|
|
|
16 |
import random
|
17 |
import open3d as o3d
|
18 |
from huggingface_hub import hf_hub_download
|
19 |
+
import numpy as np
|
20 |
|
21 |
def _remove_image_special(text):
|
22 |
text = text.replace('<ref>', '').replace('</ref>', '')
|