Spaces:
Running
Running
File size: 1,583 Bytes
c24a5b8 0a95423 ec5df42 0a95423 ec5df42 01acf49 c24a5b8 ec5df42 33eb073 0a95423 2de894d c24a5b8 0a95423 c24a5b8 4e58905 0a95423 4e58905 c24a5b8 6b6f8cb 0a95423 c24a5b8 ec5df42 0a95423 33eb073 ee0acd6 c24a5b8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
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/) | [Product Platform Hitem3D](https://hitem3d.ai/)
'''
_INFO1 = '''
### Our demo page is back online on Hugging Face! π
'''
_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}
}
```
π§ **Contact**
Your feedback means a lot to us. Feel free to share your thoughts or reach out anytime at [email protected] β weβd love to hear from you!
"""
html = '''
<!DOCTYPE html>
<html>
<body>
<iframe id="myIframe" width="100%" height="1125" frameborder="0"></iframe>
</body>
</html>
'''
script = '''
function createGradio() {
const urls = [
"https://3dserver.hitem3d.ai/"
];
const randomIndex = Math.floor(Math.random() * urls.length);
document.getElementById("myIframe").src = urls[randomIndex];
}
'''
with gr.Blocks(js=script) as demo:
gr.Markdown(_TITLE)
gr.Markdown(_DESCRIPTION)
gr.Markdown(_INFO1)
gr.HTML(html)
gr.Markdown(_CITE_)
if __name__ == "__main__":
demo.launch() |