xinjie.wang commited on
Commit
03a91aa
·
1 Parent(s): f4fbc08
Files changed (2) hide show
  1. app.py +4 -3
  2. requirements.txt +8 -8
app.py CHANGED
@@ -18,6 +18,7 @@ from common import (
18
  )
19
  from gradio.themes import Default
20
  from gradio.themes.utils.colors import slate
 
21
 
22
  with gr.Blocks(
23
  delete_cache=(43200, 43200), theme=Default(primary_hue=slate)
@@ -217,8 +218,8 @@ with gr.Blocks(
217
  loop=True,
218
  height=300,
219
  )
220
- model_output_gs = gr.Model3D(
221
- label="Gaussian Representation", height=300, interactive=False
222
  )
223
  aligned_gs = gr.Textbox(visible=False)
224
  with gr.Row():
@@ -427,4 +428,4 @@ with gr.Blocks(
427
 
428
 
429
  if __name__ == "__main__":
430
- demo.launch(server_name="10.34.8.82", server_port=8084)
 
18
  )
19
  from gradio.themes import Default
20
  from gradio.themes.utils.colors import slate
21
+ from gradio_litmodel3d import LitModel3D
22
 
23
  with gr.Blocks(
24
  delete_cache=(43200, 43200), theme=Default(primary_hue=slate)
 
218
  loop=True,
219
  height=300,
220
  )
221
+ model_output_gs = LitModel3D(
222
+ label="Gaussian Representation", height=300, interactive=False, exposure=10,
223
  )
224
  aligned_gs = gr.Textbox(visible=False)
225
  with gr.Row():
 
428
 
429
 
430
  if __name__ == "__main__":
431
+ demo.launch()
requirements.txt CHANGED
@@ -19,8 +19,8 @@ igraph==0.11.8
19
  pyvista==0.36.1
20
  openai==1.58.1
21
  transformers==4.42.4
22
- # gradio_litmodel3d==0.0.1
23
- gradio==5.12.0
24
  sentencepiece==0.2.0
25
  diffusers==0.31.0
26
  xatlas==0.0.9
@@ -38,10 +38,10 @@ kolors@git+https://github.com/Kwai-Kolors/Kolors.git#egg=038818d
38
  segment-anything@git+https://github.com/facebookresearch/segment-anything.git#egg=dca509f
39
  https://github.com/nerfstudio-project/gsplat/releases/download/v1.5.0/gsplat-1.5.0+pt24cu121-cp310-cp310-linux_x86_64.whl
40
  https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.0.post2/flash_attn-2.7.0.post2+cu12torch2.4cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
41
- # https://huggingface.co/spaces/xinjjj/ImgRoboAssetGen/blob/main/wheels/diff_gaussian_rasterization-0.0.0-cp310-cp310-linux_x86_64.whl
42
- # https://huggingface.co/spaces/xinjjj/ImgRoboAssetGen/blob/main/wheels/nvdiffrast-0.3.3-cp310-cp310-linux_x86_64.whl
43
- # https://huggingface.co/spaces/xinjjj/ImgRoboAssetGen/blob/main/wheels/kaolin-0.16.0-cp310-cp310-linux_x86_64.whl
44
 
45
- https://huggingface.co/spaces/JeffreyXiang/TRELLIS/resolve/main/wheels/diff_gaussian_rasterization-0.0.0-cp310-cp310-linux_x86_64.whl
46
- https://huggingface.co/spaces/JeffreyXiang/TRELLIS/resolve/main/wheels/nvdiffrast-0.3.3-cp310-cp310-linux_x86_64.whl
47
- kaolin@git+https://github.com/NVIDIAGameWorks/[email protected]
 
19
  pyvista==0.36.1
20
  openai==1.58.1
21
  transformers==4.42.4
22
+ gradio_litmodel3d==0.0.1
23
+ # gradio==5.12.0
24
  sentencepiece==0.2.0
25
  diffusers==0.31.0
26
  xatlas==0.0.9
 
38
  segment-anything@git+https://github.com/facebookresearch/segment-anything.git#egg=dca509f
39
  https://github.com/nerfstudio-project/gsplat/releases/download/v1.5.0/gsplat-1.5.0+pt24cu121-cp310-cp310-linux_x86_64.whl
40
  https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.0.post2/flash_attn-2.7.0.post2+cu12torch2.4cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
41
+ https://huggingface.co/spaces/xinjjj/ImgRoboAssetGen/resolve/main/wheels/diff_gaussian_rasterization-0.0.0-cp310-cp310-linux_x86_64.whl
42
+ https://huggingface.co/spaces/xinjjj/ImgRoboAssetGen/resolve/main/wheels/nvdiffrast-0.3.3-cp310-cp310-linux_x86_64.whl
43
+ https://huggingface.co/spaces/xinjjj/ImgRoboAssetGen/resolve/main/wheels/kaolin-0.16.0-cp310-cp310-linux_x86_64.whl
44
 
45
+ # https://huggingface.co/spaces/JeffreyXiang/TRELLIS/resolve/main/wheels/diff_gaussian_rasterization-0.0.0-cp310-cp310-linux_x86_64.whl
46
+ # https://huggingface.co/spaces/JeffreyXiang/TRELLIS/resolve/main/wheels/nvdiffrast-0.3.3-cp310-cp310-linux_x86_64.whl
47
+ # kaolin@git+https://github.com/NVIDIAGameWorks/[email protected]