Commit ·
a2e6071
1
Parent(s): 313d54c
logo readjust 2
Browse files
app.py
CHANGED
|
@@ -164,23 +164,31 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 164 |
demo.css = """
|
| 165 |
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
|
| 166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
#main-title {
|
| 168 |
font-family: 'Poppins', sans-serif;
|
| 169 |
font-weight: 600;
|
| 170 |
letter-spacing: 1px;
|
|
|
|
|
|
|
| 171 |
}
|
| 172 |
-
|
| 173 |
#deepv-logo-container {
|
| 174 |
display: flex;
|
| 175 |
justify-content: center;
|
| 176 |
align-items: center;
|
| 177 |
padding: 0;
|
| 178 |
-
margin-bottom: 0px;
|
|
|
|
| 179 |
}
|
| 180 |
|
| 181 |
#deepv-logo {
|
| 182 |
-
width: 400px;
|
| 183 |
-
height: 115px;
|
| 184 |
object-fit: contain;
|
| 185 |
}
|
| 186 |
|
|
@@ -190,7 +198,7 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 190 |
|
| 191 |
#copy-button {
|
| 192 |
position: absolute;
|
| 193 |
-
top: 60px;
|
| 194 |
right: 20px;
|
| 195 |
z-index: 1000;
|
| 196 |
background-color: #F0F0F0;
|
|
|
|
| 164 |
demo.css = """
|
| 165 |
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
|
| 166 |
|
| 167 |
+
/* New CSS to make the layout more compact */
|
| 168 |
+
.gradio-container {
|
| 169 |
+
margin-top: 0 !important;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
#main-title {
|
| 173 |
font-family: 'Poppins', sans-serif;
|
| 174 |
font-weight: 600;
|
| 175 |
letter-spacing: 1px;
|
| 176 |
+
margin-top: 0 !important;
|
| 177 |
+
margin-bottom: 0 !important;
|
| 178 |
}
|
| 179 |
+
|
| 180 |
#deepv-logo-container {
|
| 181 |
display: flex;
|
| 182 |
justify-content: center;
|
| 183 |
align-items: center;
|
| 184 |
padding: 0;
|
| 185 |
+
margin-bottom: 0px;
|
| 186 |
+
margin-top: -10px; /* Pull the logo up */
|
| 187 |
}
|
| 188 |
|
| 189 |
#deepv-logo {
|
| 190 |
+
width: 400px;
|
| 191 |
+
height: 115px;
|
| 192 |
object-fit: contain;
|
| 193 |
}
|
| 194 |
|
|
|
|
| 198 |
|
| 199 |
#copy-button {
|
| 200 |
position: absolute;
|
| 201 |
+
top: 60px;
|
| 202 |
right: 20px;
|
| 203 |
z-index: 1000;
|
| 204 |
background-color: #F0F0F0;
|