Spaces:
Runtime error
Runtime error
FrozenBurning commited on
Commit ·
b0e9278
1
Parent(s): 1936a56
dev notes
Browse files
app.py
CHANGED
|
@@ -163,7 +163,7 @@ def export_mesh(prim_params, uv_unwrap="Faster", remesh="No", mc_resolution=256)
|
|
| 163 |
return output_glb_path, gr.update(visible=True), gr.update(interactive=True), gr.update(value="assets/hdri/metro_noord_1k.hdr")
|
| 164 |
|
| 165 |
# gradio UI
|
| 166 |
-
_TITLE = '''3DTopia-XL'''
|
| 167 |
|
| 168 |
_DESCRIPTION = '''
|
| 169 |
<div>
|
|
@@ -175,6 +175,10 @@ _DESCRIPTION = '''
|
|
| 175 |
* If you find the output unsatisfying, try using different seeds!
|
| 176 |
'''
|
| 177 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
block = gr.Blocks(title=_TITLE).queue()
|
| 179 |
with block:
|
| 180 |
current_fg_state = gr.State()
|
|
@@ -183,6 +187,8 @@ with block:
|
|
| 183 |
with gr.Column(scale=1):
|
| 184 |
gr.Markdown('# ' + _TITLE)
|
| 185 |
gr.Markdown(_DESCRIPTION)
|
|
|
|
|
|
|
| 186 |
|
| 187 |
with gr.Row(variant='panel'):
|
| 188 |
with gr.Column(scale=1):
|
|
|
|
| 163 |
return output_glb_path, gr.update(visible=True), gr.update(interactive=True), gr.update(value="assets/hdri/metro_noord_1k.hdr")
|
| 164 |
|
| 165 |
# gradio UI
|
| 166 |
+
_TITLE = '''3DTopia-XL: Scaling High-quality 3D Asset Generation via Primitive Diffusion'''
|
| 167 |
|
| 168 |
_DESCRIPTION = '''
|
| 169 |
<div>
|
|
|
|
| 175 |
* If you find the output unsatisfying, try using different seeds!
|
| 176 |
'''
|
| 177 |
|
| 178 |
+
_DEV_DES = '''
|
| 179 |
+
* Please refer to our repo for instructions on [running gradio demo locally](https://github.com/3DTopia/3DTopia-XL?tab=readme-ov-file#gradio-demo) or [CLI test](https://github.com/3DTopia/3DTopia-XL?tab=readme-ov-file#cli-test)
|
| 180 |
+
'''
|
| 181 |
+
|
| 182 |
block = gr.Blocks(title=_TITLE).queue()
|
| 183 |
with block:
|
| 184 |
current_fg_state = gr.State()
|
|
|
|
| 187 |
with gr.Column(scale=1):
|
| 188 |
gr.Markdown('# ' + _TITLE)
|
| 189 |
gr.Markdown(_DESCRIPTION)
|
| 190 |
+
with gr.Accordion("For Developers"):
|
| 191 |
+
gr.Markdown(_DEV_DES)
|
| 192 |
|
| 193 |
with gr.Row(variant='panel'):
|
| 194 |
with gr.Column(scale=1):
|