chenjian commited on
Commit
dc1bdf4
1 Parent(s): a419838

add paddlehub icon

Browse files
Files changed (1) hide show
  1. app.py +16 -36
app.py CHANGED
@@ -116,45 +116,25 @@ with block:
116
  align-items: center;
117
  gap: 0.8rem;
118
  font-size: 1.75rem;
 
 
119
  "
120
  >
121
- <svg
122
- width="0.65em"
123
- height="0.65em"
124
- viewBox="0 0 115 115"
125
- fill="none"
126
- xmlns="http://www.w3.org/2000/svg"
127
- >
128
- <rect width="23" height="23" fill="white"></rect>
129
- <rect y="69" width="23" height="23" fill="white"></rect>
130
- <rect x="23" width="23" height="23" fill="#AEAEAE"></rect>
131
- <rect x="23" y="69" width="23" height="23" fill="#AEAEAE"></rect>
132
- <rect x="46" width="23" height="23" fill="white"></rect>
133
- <rect x="46" y="69" width="23" height="23" fill="white"></rect>
134
- <rect x="69" width="23" height="23" fill="black"></rect>
135
- <rect x="69" y="69" width="23" height="23" fill="black"></rect>
136
- <rect x="92" width="23" height="23" fill="#D9D9D9"></rect>
137
- <rect x="92" y="69" width="23" height="23" fill="#AEAEAE"></rect>
138
- <rect x="115" y="46" width="23" height="23" fill="white"></rect>
139
- <rect x="115" y="115" width="23" height="23" fill="white"></rect>
140
- <rect x="115" y="69" width="23" height="23" fill="#D9D9D9"></rect>
141
- <rect x="92" y="46" width="23" height="23" fill="#AEAEAE"></rect>
142
- <rect x="92" y="115" width="23" height="23" fill="#AEAEAE"></rect>
143
- <rect x="92" y="69" width="23" height="23" fill="white"></rect>
144
- <rect x="69" y="46" width="23" height="23" fill="white"></rect>
145
- <rect x="69" y="115" width="23" height="23" fill="white"></rect>
146
- <rect x="69" y="69" width="23" height="23" fill="#D9D9D9"></rect>
147
- <rect x="46" y="46" width="23" height="23" fill="black"></rect>
148
- <rect x="46" y="115" width="23" height="23" fill="black"></rect>
149
- <rect x="46" y="69" width="23" height="23" fill="black"></rect>
150
- <rect x="23" y="46" width="23" height="23" fill="#D9D9D9"></rect>
151
- <rect x="23" y="115" width="23" height="23" fill="#AEAEAE"></rect>
152
- <rect x="23" y="69" width="23" height="23" fill="black"></rect>
153
- </svg>
154
- <h1 style="font-weight: 900; margin-bottom: 7px;">
155
  ERNIE-ViLG Demo
156
- </h1>
157
- </div>
158
  <p style="margin-bottom: 10px; font-size: 94%">
159
  ERNIE-ViLG is a state-of-the-art text-to-image model that generates
160
  images from Chinese text.
 
116
  align-items: center;
117
  gap: 0.8rem;
118
  font-size: 1.75rem;
119
+ margin-bottom: 10px;
120
+ justify-content: center;
121
  "
122
  >
123
+ <img src="https://user-images.githubusercontent.com/22424850/187387422-f6c9ccab-7fda-416e-a24d-7d6084c46f67.jpg" alt="Paddlehub" width="40%">
124
+ </div>
125
+ <div
126
+ style="
127
+ display: inline-flex;
128
+ align-items: center;
129
+ gap: 0.8rem;
130
+ font-size: 1.75rem;
131
+ margin-bottom: 10px;
132
+ justify-content: center;
133
+ ">
134
+ <h1 style="font-weight: 900; margin-bottom: 7px;">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  ERNIE-ViLG Demo
136
+ </h1>
137
+ </div>
138
  <p style="margin-bottom: 10px; font-size: 94%">
139
  ERNIE-ViLG is a state-of-the-art text-to-image model that generates
140
  images from Chinese text.