Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -86,42 +86,6 @@ block = gr.Blocks(css=css)
|
|
86 |
|
87 |
|
88 |
with block:
|
89 |
-
gr.HTML(
|
90 |
-
"""
|
91 |
-
<div style="text-align: center; max-width: 650px; margin: 0 auto;">
|
92 |
-
<div
|
93 |
-
style="
|
94 |
-
display: inline-flex;
|
95 |
-
gap: 0.8rem;
|
96 |
-
font-size: 1.75rem;
|
97 |
-
margin-bottom: 10px;
|
98 |
-
margin-left: 220px;
|
99 |
-
justify-content: center;
|
100 |
-
"
|
101 |
-
>
|
102 |
-
<a href="https://github.com/PaddlePaddle/PaddleHub"><img src="https://user-images.githubusercontent.com/22424850/187387422-f6c9ccab-7fda-416e-a24d-7d6084c46f67.jpg" alt="Paddlehub" width="40%"></a>
|
103 |
-
</div>
|
104 |
-
<div
|
105 |
-
style="
|
106 |
-
display: inline-flex;
|
107 |
-
align-items: center;
|
108 |
-
gap: 0.8rem;
|
109 |
-
font-size: 1.75rem;
|
110 |
-
margin-bottom: 10px;
|
111 |
-
justify-content: center;
|
112 |
-
">
|
113 |
-
<a href="https://github.com/PaddlePaddle/PaddleHub"><h1 style="font-weight: 900; margin-bottom: 7px;">
|
114 |
-
ERNIE-ViLG Demo
|
115 |
-
</h1></a>
|
116 |
-
</div>
|
117 |
-
<p style="margin-bottom: 10px; font-size: 94%">
|
118 |
-
ERNIE-ViLG is a state-of-the-art text-to-image model that generates
|
119 |
-
images from Chinese text.
|
120 |
-
</p>
|
121 |
-
<a href="https://github.com/PaddlePaddle/PaddleHub"><img src="https://user-images.githubusercontent.com/22424850/188184795-98605a22-9af2-4106-827b-e58548f8892f.png" alt="star Paddlehub" width="100%"></a>
|
122 |
-
</div>
|
123 |
-
"""
|
124 |
-
)
|
125 |
with gr.Group():
|
126 |
with gr.Box():
|
127 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
|
|
86 |
|
87 |
|
88 |
with block:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
with gr.Group():
|
90 |
with gr.Box():
|
91 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|