Ruicheng commited on
Commit
728b726
1 Parent(s): 2a55603

update text and theme

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -84,7 +84,7 @@ def run(image: np.ndarray, remove_edge: bool = True):
84
 
85
 
86
  DESCRIPTION = """
87
- MoGe turns 2D images into 3D point maps.
88
 
89
  NOTE:
90
  * If the image is too large (> 1024px), it will be resized accordingly.
@@ -104,8 +104,9 @@ if __name__ == '__main__':
104
  gr.Model3D(display_mode="solid", clear_color=[1.0, 1.0, 1.0, 1.0], label="3D Viewer"),
105
  gr.File(type="filepath", label="Download the model as .ply file"),
106
  ],
107
- title="MoGe Live Demo",
108
  description=DESCRIPTION,
109
  clear_btn=None,
110
  allow_flagging="never",
111
- ).launch(share=False)
 
 
84
 
85
 
86
  DESCRIPTION = """
87
+ Turns 2D images into 3D point maps with MoGe
88
 
89
  NOTE:
90
  * If the image is too large (> 1024px), it will be resized accordingly.
 
104
  gr.Model3D(display_mode="solid", clear_color=[1.0, 1.0, 1.0, 1.0], label="3D Viewer"),
105
  gr.File(type="filepath", label="Download the model as .ply file"),
106
  ],
107
+ title=None,
108
  description=DESCRIPTION,
109
  clear_btn=None,
110
  allow_flagging="never",
111
+ theme=gr.themes.Soft()
112
+ ).launch()