Spaces:
Runtime error
Runtime error
Commit
·
d88d046
1
Parent(s):
7fa2458
update
Browse files
app.py
CHANGED
|
@@ -132,8 +132,9 @@ def sample(image, seed, category):
|
|
| 132 |
import gradio as gr
|
| 133 |
|
| 134 |
_HEADER_ = '''
|
| 135 |
-
<h2><b>
|
| 136 |
|
|
|
|
| 137 |
**DI-PCG** is a diffusion model which directly generates a procedural generator's parameters from a single image, resulting in high-quality 3D meshes.
|
| 138 |
|
| 139 |
Code: <a href='https://github.com/TencentARC/DI-PCG' target='_blank'>GitHub</a>. Techenical report: <a href='' target='_blank'>ArXiv</a>.
|
|
@@ -159,7 +160,7 @@ Please refer to the [LICENSE file]() for details.
|
|
| 159 |
|
| 160 |
📧 **Contact**
|
| 161 |
|
| 162 |
-
If you have any questions, feel free to open a discussion or contact us at <b
|
| 163 |
"""
|
| 164 |
def update_examples(category):
|
| 165 |
samples = [[os.path.join(f"examples/{category}", img_name)]
|
|
|
|
| 132 |
import gradio as gr
|
| 133 |
|
| 134 |
_HEADER_ = '''
|
| 135 |
+
<h2><b>DI-PCG 🤗 Gradio Demo</b></h2>
|
| 136 |
|
| 137 |
+
This is official demo for our technical report <a href="">DI-PCG: Diffusion-based Efficient Inverse Procedural Content Generation for High-quality 3D Asset Creation </a>.
|
| 138 |
**DI-PCG** is a diffusion model which directly generates a procedural generator's parameters from a single image, resulting in high-quality 3D meshes.
|
| 139 |
|
| 140 |
Code: <a href='https://github.com/TencentARC/DI-PCG' target='_blank'>GitHub</a>. Techenical report: <a href='' target='_blank'>ArXiv</a>.
|
|
|
|
| 160 |
|
| 161 |
📧 **Contact**
|
| 162 |
|
| 163 |
+
If you have any questions, feel free to open a discussion or contact us at <b>wangzhao0849@gmail.com</b>.
|
| 164 |
"""
|
| 165 |
def update_examples(category):
|
| 166 |
samples = [[os.path.join(f"examples/{category}", img_name)]
|