ilcve21 commited on
Commit
c24a5b8
·
verified ·
1 Parent(s): 2a6f963

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +38 -0
app.py ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import random
3
+
4
+ _TITLE = '''
5
+ # Sparc3D: Next-Gen High-Resolution 3D Model Generation
6
+ '''
7
+
8
+ _DESCRIPTION = '''
9
+ ### Powered by Math Magic AI Research, NTU & ICL | [Arxiv](https://arxiv.org/pdf/2505.14521v2) | [Project Page](https://lizhihao6.github.io/Sparc3D/)
10
+ '''
11
+
12
+
13
+
14
+ html = '''
15
+ <!DOCTYPE html>
16
+ <html>
17
+ <body>
18
+ <iframe id="myIframe" width="100%" height="1200" frameborder="0"></iframe>
19
+ </body>
20
+ </html>
21
+ '''
22
+
23
+
24
+ script = '''
25
+ function createGradio() {
26
+ document.getElementById("myIframe").src = ['https://3dserver.zaohaowu.com/'];
27
+ }
28
+ '''
29
+
30
+
31
+ with gr.Blocks(js=script) as demo:
32
+ gr.Markdown(_TITLE)
33
+ gr.Markdown(_DESCRIPTION)
34
+ gr.HTML(html)
35
+
36
+
37
+ if __name__ == "__main__":
38
+ demo.launch()