Spaces:
Paused
Paused
Update css
Browse files
app.py
CHANGED
|
@@ -91,17 +91,10 @@ If you find ID-Booth helpful, please consider citing our paper:
|
|
| 91 |
"""
|
| 92 |
|
| 93 |
css = '''
|
| 94 |
-
|
| 95 |
-
width:
|
| 96 |
margin: auto;
|
| 97 |
}
|
| 98 |
-
|
| 99 |
-
/* For smaller screens */
|
| 100 |
-
@media screen and (max-width: 768px) {
|
| 101 |
-
#main-container {
|
| 102 |
-
width: 85% !important;
|
| 103 |
-
}
|
| 104 |
-
}
|
| 105 |
'''
|
| 106 |
|
| 107 |
with gr.Blocks(css=css) as demo:
|
|
@@ -109,7 +102,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 109 |
# description
|
| 110 |
gr.Markdown(header)
|
| 111 |
gr.Markdown(description)
|
| 112 |
-
with gr.Column(
|
| 113 |
# with gr.Row():
|
| 114 |
# gr.Markdown("### Choose an identity, background, and pose:")
|
| 115 |
|
|
|
|
| 91 |
"""
|
| 92 |
|
| 93 |
css = '''
|
| 94 |
+
.gradio-container {
|
| 95 |
+
width: 75%;
|
| 96 |
margin: auto;
|
| 97 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
'''
|
| 99 |
|
| 100 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 102 |
# description
|
| 103 |
gr.Markdown(header)
|
| 104 |
gr.Markdown(description)
|
| 105 |
+
with gr.Column():
|
| 106 |
# with gr.Row():
|
| 107 |
# gr.Markdown("### Choose an identity, background, and pose:")
|
| 108 |
|