File size: 1,360 Bytes
f0b3275
 
 
 
 
42449b2
f0b3275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42449b2
f0b3275
 
 
 
 
 
42449b2
 
 
a3894ef
42449b2
f0b3275
 
 
 
 
 
 
 
f6f0c5f
f0b3275
 
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
import gradio as gr
import os

url = os.environ['IP_ADDRESS']

with gr.Blocks() as demo:
    gr.HTML(
        """
       
          <!DOCTYPE html>
        <html lang="zh">
        <head>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <title>Make-A-Character</title>
            <style>
                body {font-family: Arial, sans-serif;
                    text-align: center;
                }
        
                header, section, footer {
                    margin-bottom: 10px;
                }
                iframe {
                    width: 80%;
                    height: 1000px;
                    align-items: center;
                    border: none;
                }
            </style>
        </head>
        <body>
            <header>
                <h1>If you like our project, please give us a &starf; on <a href="https://github.com/Human3DAIGC/Make-A-Character" style="color: blue;"> Github </a> to stay updated with the latest developments.</h1>
            </header>
     
          
                <iframe src=""" + url +   """ title="demo"></iframe>
                                </section>
                            </body>
                            </html>""")



if __name__ == "__main__":
    demo.queue()
    demo.launch()