tatiana0599 commited on
Commit
b1f53e4
·
1 Parent(s): b77d133

Back to Model3D

Browse files
Files changed (2) hide show
  1. app.py +4 -4
  2. requirements.txt +0 -4
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from gradio_litmodel3d import LitModel3D
3
 
4
  # Predefined questions
5
  questions_list = [
@@ -33,13 +33,13 @@ with gr.Blocks(title="3DGraphLLM Q&A Demo") as demo:
33
 
34
  # Right block: 3D model viewer
35
  with gr.Column():
36
- model3d = LitModel3D(
37
  value="colored_sphere.obj",
38
  interactive=False,
39
- exposure=4.0,
40
- contrast=1,
41
  camera_position=(90, 90, 7)
42
  )
 
 
43
 
44
  if __name__ == "__main__":
45
  demo.launch()
 
1
  import gradio as gr
2
+ from gradio import Model3D
3
 
4
  # Predefined questions
5
  questions_list = [
 
33
 
34
  # Right block: 3D model viewer
35
  with gr.Column():
36
+ model3d = Model3D(
37
  value="colored_sphere.obj",
38
  interactive=False,
 
 
39
  camera_position=(90, 90, 7)
40
  )
41
+ # exposure=4.0,
42
+ # contrast=1,
43
 
44
  if __name__ == "__main__":
45
  demo.launch()
requirements.txt DELETED
@@ -1,4 +0,0 @@
1
- gradio==4.44.1
2
- gradio_litmodel3d
3
- pydantic==2.10.6
4
- websockets>=10.0,<16.0