Update app1.py
Browse files
app1.py
CHANGED
|
@@ -76,11 +76,11 @@ def run_demo():
|
|
| 76 |
text-align: center; /* Horizontally center the content */
|
| 77 |
}'''
|
| 78 |
|
| 79 |
-
_TITLE = '''GeoWizard'''
|
| 80 |
_DESCRIPTION = '''
|
| 81 |
<div>
|
| 82 |
-
Generate consistent depth and normal from single image.
|
| 83 |
-
<a style="display:inline-block; margin-left: .5em" href='https://github.com/
|
| 84 |
</div>
|
| 85 |
'''
|
| 86 |
_GPU_ID = 0
|
|
@@ -115,7 +115,7 @@ def run_demo():
|
|
| 115 |
("Indoor", "indoor"),
|
| 116 |
("Object", "object"),
|
| 117 |
],
|
| 118 |
-
label="Data
|
| 119 |
value="indoor",
|
| 120 |
)
|
| 121 |
guidance_scale = gr.Slider(
|
|
@@ -126,14 +126,14 @@ def run_demo():
|
|
| 126 |
value=3,
|
| 127 |
)
|
| 128 |
denoising_steps = gr.Slider(
|
| 129 |
-
label="Number of denoising steps",
|
| 130 |
minimum=1,
|
| 131 |
-
maximum=
|
| 132 |
step=1,
|
| 133 |
-
value=
|
| 134 |
)
|
| 135 |
ensemble_size = gr.Slider(
|
| 136 |
-
label="Ensemble size",
|
| 137 |
minimum=1,
|
| 138 |
maximum=15,
|
| 139 |
step=1,
|
|
|
|
| 76 |
text-align: center; /* Horizontally center the content */
|
| 77 |
}'''
|
| 78 |
|
| 79 |
+
_TITLE = '''GeoWizard: Unleashing the Diffusion Priors for 3D Geometry Estimation from a Single Image'''
|
| 80 |
_DESCRIPTION = '''
|
| 81 |
<div>
|
| 82 |
+
Generate consistent depth and normal from single image. High quality and rich details.
|
| 83 |
+
<a style="display:inline-block; margin-left: .5em" href='https://github.com/fuxiao0719/GeoWizard/'><img src='https://img.shields.io/github/stars/fuxiao0719/GeoWizard?style=social' /></a>
|
| 84 |
</div>
|
| 85 |
'''
|
| 86 |
_GPU_ID = 0
|
|
|
|
| 115 |
("Indoor", "indoor"),
|
| 116 |
("Object", "object"),
|
| 117 |
],
|
| 118 |
+
label="Data Type (Must Select One matches your image)",
|
| 119 |
value="indoor",
|
| 120 |
)
|
| 121 |
guidance_scale = gr.Slider(
|
|
|
|
| 126 |
value=3,
|
| 127 |
)
|
| 128 |
denoising_steps = gr.Slider(
|
| 129 |
+
label="Number of denoising steps (More stepes, better quality)",
|
| 130 |
minimum=1,
|
| 131 |
+
maximum=50,
|
| 132 |
step=1,
|
| 133 |
+
value=20,
|
| 134 |
)
|
| 135 |
ensemble_size = gr.Slider(
|
| 136 |
+
label="Ensemble size (1 will be enough. More steps, higher accuracy)",
|
| 137 |
minimum=1,
|
| 138 |
maximum=15,
|
| 139 |
step=1,
|