Spaces:
Running
Running
Add style.css
Browse files
app.py
CHANGED
@@ -163,13 +163,7 @@ def main():
|
|
163 |
args = parse_args()
|
164 |
model = Model(args.device)
|
165 |
|
166 |
-
|
167 |
-
h1#title {
|
168 |
-
text-align: center;
|
169 |
-
}
|
170 |
-
'''
|
171 |
-
|
172 |
-
with gr.Blocks(theme=args.theme, css=css) as demo:
|
173 |
gr.Markdown('''<h1 id="title">VDIGPKU/CBNetV2</h1>
|
174 |
|
175 |
This is an unofficial demo for [https://github.com/VDIGPKU/CBNetV2](https://github.com/VDIGPKU/CBNetV2).'''
|
|
|
163 |
args = parse_args()
|
164 |
model = Model(args.device)
|
165 |
|
166 |
+
with gr.Blocks(theme=args.theme, css='style.css') as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
gr.Markdown('''<h1 id="title">VDIGPKU/CBNetV2</h1>
|
168 |
|
169 |
This is an unofficial demo for [https://github.com/VDIGPKU/CBNetV2](https://github.com/VDIGPKU/CBNetV2).'''
|
style.css
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
h1 {
|
2 |
+
text-align: center;
|
3 |
+
}
|
4 |
+
img#visitor-badge {
|
5 |
+
display: block;
|
6 |
+
margin: auto;
|
7 |
+
}
|