Sparc3D / app.py
ilcve21's picture
Create app.py
c24a5b8 verified
raw
history blame
713 Bytes
import gradio as gr
import random
_TITLE = '''
# Sparc3D: Next-Gen High-Resolution 3D Model Generation
'''
_DESCRIPTION = '''
### Powered by Math Magic AI Research, NTU & ICL | [Arxiv](https://arxiv.org/pdf/2505.14521v2) | [Project Page](https://lizhihao6.github.io/Sparc3D/)
'''
html = '''
<!DOCTYPE html>
<html>
<body>
<iframe id="myIframe" width="100%" height="1200" 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)
if __name__ == "__main__":
demo.launch()