RamAnanth1 commited on
Commit
8c2c796
1 Parent(s): 82e1020

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -2,16 +2,7 @@
2
 
3
  import gradio as gr
4
  import PIL.Image
5
-
6
- from gradio_client import Client
7
-
8
- lgm_mini_client = Client("dylanebert/LGM-mini")
9
- triposr_client = Client("stabilityai/TripoSR")
10
-
11
-
12
- import gradio as gr
13
  import os
14
-
15
  from gradio_client import Client
16
 
17
  lgm_mini_client = Client("dylanebert/LGM-mini")
@@ -45,7 +36,7 @@ def run(image, model_name):
45
 
46
  demo = gr.Interface(
47
  fn=run,
48
- inputs=[gr.Image(type="pil"),gr.Textbox("Model Name")],
49
  outputs=gr.Model3D(label="3D Model"),
50
  )
51
 
 
2
 
3
  import gradio as gr
4
  import PIL.Image
 
 
 
 
 
 
 
 
5
  import os
 
6
  from gradio_client import Client
7
 
8
  lgm_mini_client = Client("dylanebert/LGM-mini")
 
36
 
37
  demo = gr.Interface(
38
  fn=run,
39
+ inputs=[gr.Image(type="pil"),gr.Textbox(label="Model Name")],
40
  outputs=gr.Model3D(label="3D Model"),
41
  )
42