update text and theme
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def run(image: np.ndarray, remove_edge: bool = True):
|
|
84 |
|
85 |
|
86 |
DESCRIPTION = """
|
87 |
-
|
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=
|
108 |
description=DESCRIPTION,
|
109 |
clear_btn=None,
|
110 |
allow_flagging="never",
|
111 |
-
|
|
|
|
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()
|