Update app.py
Browse files
app.py
CHANGED
@@ -1,37 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
5 |
|
6 |
-
# with gr.Blocks(title="🏹CTXGen", css=".markdown { text-align: center; }") as demo:
|
7 |
-
# gr.Markdown(description)
|
8 |
-
with gr.Blocks(css="footer {visibility: hidden}") as demo:
|
9 |
-
gr.Markdown(
|
10 |
-
"""
|
11 |
-
<h1 style='text-align: center;'>Hi3DGen: High-fidelity 3D Geometry Generation from Images via Normal Bridging</h1>
|
12 |
-
<p style='text-align: center;'>
|
13 |
-
<strong>V0.1, Introduced By
|
14 |
-
<a href="https://gaplab.cuhk.edu.cn/" target="_blank">GAP Lab</a> from CUHKSZ and
|
15 |
-
<a href="https://www.nvsgames.cn/" target="_blank">Game-AIGC Team</a> from ByteDance</strong>
|
16 |
-
</p>
|
17 |
-
"""
|
18 |
-
)
|
19 |
-
|
20 |
-
with gr.Row():
|
21 |
-
gr.Markdown("""
|
22 |
-
<p align="center">
|
23 |
-
<a title="Website" href="https://stable-x.github.io/Hi3DGen/" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
24 |
-
<img src="https://www.obukhov.ai/img/badges/badge-website.svg">
|
25 |
-
</a>
|
26 |
-
<a title="arXiv" href="https://stable-x.github.io/Hi3DGen/hi3dgen_paper.pdf" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
27 |
-
<img src="https://www.obukhov.ai/img/badges/badge-pdf.svg">
|
28 |
-
</a>
|
29 |
-
<a title="Github" href="https://github.com/Stable-X/Hi3DGen" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
30 |
-
<img src="https://img.shields.io/github/stars/Stable-X/Hi3DGen?label=GitHub%20%E2%98%85&logo=github&color=C8C" alt="badge-github-stars">
|
31 |
-
</a>
|
32 |
-
<a title="Social" href="https://x.com/ychngji6" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
33 |
-
<img src="https://www.obukhov.ai/img/badges/badge-social.svg" alt="social">
|
34 |
-
</a>
|
35 |
-
</p>
|
36 |
-
""")
|
37 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
with open("CTXGen.md", "r") as f:
|
4 |
+
description = f.read()
|
5 |
+
|
6 |
+
with gr.Blocks(title="🏹CTXGen", css=".markdown { text-align: center; }") as demo:
|
7 |
+
gr.Markdown(description)
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
demo.launch()
|