wushuang98 commited on
Commit
8fc5ab1
·
verified ·
1 Parent(s): e84c813

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +27 -0
app.py CHANGED
@@ -1,9 +1,35 @@
1
  import gradio as gr
2
  import random
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  src_list = ['https://api.zmkj.site/', 'https://api1.zmkj.site/', 'https://api2.zmkj.site/']
5
 
6
  with gr.Blocks() as demo:
 
 
7
  gr.HTML(f"""
8
  <iframe
9
  src="{random.choice(src_list)}"
@@ -13,5 +39,6 @@ with gr.Blocks() as demo:
13
  allow="fullscreen"
14
  ></iframe>
15
  """)
 
16
 
17
  demo.launch()
 
1
  import gradio as gr
2
  import random
3
 
4
+ _TITLE = '''
5
+ # Direct3D-S2 Gigascale 3D Generation Made Easy with Spatial Sparse Attention
6
+ '''
7
+
8
+ _DESCRIPTION = '''
9
+ ### [GitHub](https://github.com/DreamTechAI/Direct3D-S2) | [Arxiv](https://arxiv.org/pdf/2505.17412) | [Project Page](https://nju-3dv.github.io/projects/Direct3D-S2/)
10
+ '''
11
+
12
+ _CITE_ = r"""
13
+ ---
14
+ 📝 **Citation**
15
+ If you find our work useful for your research or applications, please cite using this bibtex:
16
+ ```bibtex
17
+ @article{wu2025direct3ds2gigascale3dgeneration,
18
+ title={Direct3D-S2: Gigascale 3D Generation Made Easy with Spatial Sparse Attention},
19
+ author={Shuang Wu and Youtian Lin and Feihu Zhang and Yifei Zeng and Yikang Yang and Yajie Bao and Jiachen Qian and Siyu Zhu and Philip Torr and Xun Cao and Yao Yao},
20
+ journal={arXiv preprint arXiv:2505.17412},
21
+ year={2025}
22
+ }
23
+ ```
24
+ 📧 **Contact**
25
+ If you have any questions, feel free to contact us at <b>wushuang9811@outlook.com</b>.
26
+ """
27
+
28
  src_list = ['https://api.zmkj.site/', 'https://api1.zmkj.site/', 'https://api2.zmkj.site/']
29
 
30
  with gr.Blocks() as demo:
31
+ gr.Markdown(_TITLE)
32
+ gr.Markdown(_DESCRIPTION)
33
  gr.HTML(f"""
34
  <iframe
35
  src="{random.choice(src_list)}"
 
39
  allow="fullscreen"
40
  ></iframe>
41
  """)
42
+ gr.Markdown(_CITE_)
43
 
44
  demo.launch()