Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
import os
|
3 |
import subprocess
|
4 |
import shlex
|
|
|
5 |
subprocess.run(
|
6 |
shlex.split(
|
7 |
"pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py310_cu121_pyt210/download.html"
|
@@ -62,7 +63,6 @@ from models.ISOMER.projection_func import projection
|
|
62 |
import os
|
63 |
from einops import rearrange
|
64 |
from omegaconf import OmegaConf
|
65 |
-
import spaces
|
66 |
import torch
|
67 |
import numpy as np
|
68 |
import trimesh
|
|
|
2 |
import os
|
3 |
import subprocess
|
4 |
import shlex
|
5 |
+
import spaces
|
6 |
subprocess.run(
|
7 |
shlex.split(
|
8 |
"pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py310_cu121_pyt210/download.html"
|
|
|
63 |
import os
|
64 |
from einops import rearrange
|
65 |
from omegaconf import OmegaConf
|
|
|
66 |
import torch
|
67 |
import numpy as np
|
68 |
import trimesh
|