Spaces:
Runtime error
Runtime error
houyuanchen111
commited on
Commit
·
c07f809
1
Parent(s):
060dc3d
app
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ import tempfile
|
|
| 39 |
from PIL import Image
|
| 40 |
import glob
|
| 41 |
from src.data import DemoData
|
| 42 |
-
from src.models import
|
| 43 |
from torch.utils.data import DataLoader
|
| 44 |
import pytorch_lightning as pl
|
| 45 |
import spaces
|
|
@@ -378,7 +378,7 @@ if __name__ == "__main__":
|
|
| 378 |
|
| 379 |
hi3dgen_pipeline = Hi3DGenPipeline.from_pretrained("weights/trellis-normal-v0-1")
|
| 380 |
hi3dgen_pipeline.cuda()
|
| 381 |
-
lino =
|
| 382 |
lino.from_pretrained("weights/lino/lino.pth")
|
| 383 |
|
| 384 |
demo.launch(share=False, server_name="0.0.0.0")
|
|
|
|
| 39 |
from PIL import Image
|
| 40 |
import glob
|
| 41 |
from src.data import DemoData
|
| 42 |
+
from src.models import LiNo_UniPS
|
| 43 |
from torch.utils.data import DataLoader
|
| 44 |
import pytorch_lightning as pl
|
| 45 |
import spaces
|
|
|
|
| 378 |
|
| 379 |
hi3dgen_pipeline = Hi3DGenPipeline.from_pretrained("weights/trellis-normal-v0-1")
|
| 380 |
hi3dgen_pipeline.cuda()
|
| 381 |
+
lino = LiNo_UniPS()
|
| 382 |
lino.from_pretrained("weights/lino/lino.pth")
|
| 383 |
|
| 384 |
demo.launch(share=False, server_name="0.0.0.0")
|