Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import spaces
|
3 |
-
from gradio_litmodel3d import LitModel3D
|
4 |
import os
|
5 |
import shutil
|
6 |
-
|
7 |
os.environ['SPCONV_ALGO'] = 'native'
|
8 |
from typing import *
|
9 |
import torch
|
@@ -195,9 +193,8 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
|
|
195 |
height=300,
|
196 |
show_label=False
|
197 |
)
|
198 |
-
model_output =
|
199 |
label="3D Model Viewer",
|
200 |
-
exposure=10.0,
|
201 |
height=400
|
202 |
)
|
203 |
|
|
|
1 |
import gradio as gr
|
2 |
import spaces
|
|
|
3 |
import os
|
4 |
import shutil
|
|
|
5 |
os.environ['SPCONV_ALGO'] = 'native'
|
6 |
from typing import *
|
7 |
import torch
|
|
|
193 |
height=300,
|
194 |
show_label=False
|
195 |
)
|
196 |
+
model_output = gr.Model3D(
|
197 |
label="3D Model Viewer",
|
|
|
198 |
height=400
|
199 |
)
|
200 |
|