Spaces:
Runtime error
Runtime error
HongFangzhou
commited on
Commit
β’
6a8e0e2
1
Parent(s):
937c040
update app.py
Browse files
app.py
CHANGED
@@ -5,24 +5,33 @@ import sys
|
|
5 |
import cv2
|
6 |
import time
|
7 |
import json
|
|
|
8 |
import torch
|
|
|
9 |
import mcubes
|
|
|
10 |
import trimesh
|
|
|
11 |
import datetime
|
12 |
import argparse
|
13 |
import subprocess
|
14 |
import numpy as np
|
|
|
15 |
import gradio as gr
|
16 |
from tqdm import tqdm
|
|
|
17 |
import imageio.v2 as imageio
|
|
|
18 |
import pytorch_lightning as pl
|
19 |
from omegaconf import OmegaConf
|
|
|
20 |
from safetensors.torch import load_file
|
|
|
21 |
from huggingface_hub import hf_hub_download
|
22 |
|
23 |
print("Importing everything done.")
|
24 |
|
25 |
-
os.system("git clone https://github.com/3DTopia/3DTopia")
|
26 |
sys.path.append("3DTopia")
|
27 |
|
28 |
print("Github clone done.")
|
|
|
5 |
import cv2
|
6 |
import time
|
7 |
import json
|
8 |
+
print("Start importing everything.")
|
9 |
import torch
|
10 |
+
print("Start importing everything.")
|
11 |
import mcubes
|
12 |
+
print("Start importing everything.")
|
13 |
import trimesh
|
14 |
+
print("Start importing everything.")
|
15 |
import datetime
|
16 |
import argparse
|
17 |
import subprocess
|
18 |
import numpy as np
|
19 |
+
print("Start importing everything.")
|
20 |
import gradio as gr
|
21 |
from tqdm import tqdm
|
22 |
+
print("Start importing everything.")
|
23 |
import imageio.v2 as imageio
|
24 |
+
print("Start importing everything.")
|
25 |
import pytorch_lightning as pl
|
26 |
from omegaconf import OmegaConf
|
27 |
+
print("Start importing everything.")
|
28 |
from safetensors.torch import load_file
|
29 |
+
print("Start importing everything.")
|
30 |
from huggingface_hub import hf_hub_download
|
31 |
|
32 |
print("Importing everything done.")
|
33 |
|
34 |
+
os.system("git clone https://github.com/3DTopia/3DTopia.git")
|
35 |
sys.path.append("3DTopia")
|
36 |
|
37 |
print("Github clone done.")
|