Spaces:
Running
Running
Commit
·
42449b2
1
Parent(s):
a3894ef
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
|
4 |
url = os.environ['IP_ADDRESS']
|
5 |
|
6 |
-
with gr.Blocks(
|
7 |
gr.HTML(
|
8 |
"""
|
9 |
|
@@ -23,18 +23,18 @@ with gr.Blocks(css = ".output-image, .input-image, .image-preview {height: 400px
|
|
23 |
}
|
24 |
iframe {
|
25 |
width: 80%;
|
26 |
-
height:
|
27 |
align-items: center;
|
28 |
-
justify-content: center;
|
29 |
border: none;
|
30 |
}
|
31 |
</style>
|
32 |
</head>
|
33 |
<body>
|
|
|
|
|
|
|
34 |
|
35 |
-
|
36 |
-
<section>
|
37 |
-
<b>If you like our project, please give us a ★ on Github to stay updated with the latest developments.</b>
|
38 |
<iframe src=""" + url + """ title="demo"></iframe>
|
39 |
</section>
|
40 |
</body>
|
@@ -43,6 +43,6 @@ with gr.Blocks(css = ".output-image, .input-image, .image-preview {height: 400px
|
|
43 |
|
44 |
|
45 |
if __name__ == "__main__":
|
46 |
-
demo.queue()
|
47 |
demo.launch()
|
48 |
|
|
|
3 |
|
4 |
url = os.environ['IP_ADDRESS']
|
5 |
|
6 |
+
with gr.Blocks() as demo:
|
7 |
gr.HTML(
|
8 |
"""
|
9 |
|
|
|
23 |
}
|
24 |
iframe {
|
25 |
width: 80%;
|
26 |
+
height: 1000px;
|
27 |
align-items: center;
|
|
|
28 |
border: none;
|
29 |
}
|
30 |
</style>
|
31 |
</head>
|
32 |
<body>
|
33 |
+
<header>
|
34 |
+
<h1>If you like our project, please give us a ★ on <a href="https://github.com/Human3DAIGC/Make-A-Character" style="color: blue;"> Github </a> to stay updated with the latest developments.</h1>
|
35 |
+
</header>
|
36 |
|
37 |
+
|
|
|
|
|
38 |
<iframe src=""" + url + """ title="demo"></iframe>
|
39 |
</section>
|
40 |
</body>
|
|
|
43 |
|
44 |
|
45 |
if __name__ == "__main__":
|
46 |
+
demo.queue( concurrency_count=15)
|
47 |
demo.launch()
|
48 |
|