| import gradio as gr |
| import random |
|
|
| _TITLE = ''' |
| # Sparc3D: Next-Gen High-Resolution 3D Model Generation |
| ''' |
|
|
| _DESCRIPTION = ''' |
| ### Powered by Math Magic AI Research, NTU & IC | [Arxiv](https://arxiv.org/abs/2505.14521) | [Project Page](https://lizhihao6.github.io/Sparc3D/) |
| ''' |
|
|
| _CITE_ = r""" |
| --- |
| 📝 **Citation** |
| If you find our work useful for your research or applications, please cite using this bibtex: |
| ```bibtex |
| @article{li2025sparc3d, |
| title = {Sparc3D: Sparse Representation and Construction for High-Resolution 3D Shapes Modeling}, |
| author = {Li, Zhihao and Wang, Yufei and Zheng, Heliang and Luo, Yihao and Wen, Bihan}, |
| journal = {arXiv preprint arXiv:2505.14521}, |
| year = {2025} |
| } |
| ``` |
| """ |
|
|
| html = ''' |
| <!DOCTYPE html> |
| <html> |
| <body> |
| <iframe id="myIframe" width="100%" height="1320" frameborder="0"></iframe> |
| </body> |
| </html> |
| ''' |
|
|
| script = ''' |
| function createGradio() { |
| document.getElementById("myIframe").src = ['https://3dserver.zaohaowu.com/']; |
| } |
| ''' |
|
|
|
|
|
|
| with gr.Blocks(js=script) as demo: |
| gr.Markdown(_TITLE) |
| gr.Markdown(_DESCRIPTION) |
| gr.HTML(html) |
| gr.Markdown(_CITE_) |
|
|
| if __name__ == "__main__": |
| demo.launch() |