Spaces:
Running
on
Zero
Running
on
Zero
Martín Santillán Cooper
commited on
Commit
•
f28bf9f
1
Parent(s):
0808846
Narrow
Browse files
app.py
CHANGED
@@ -81,22 +81,22 @@ ibm_blue = gr.themes.Color(
|
|
81 |
c950="#1d3660"
|
82 |
)
|
83 |
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
|
101 |
with gr.Blocks(
|
102 |
title='Granite Guardian',
|
@@ -104,6 +104,7 @@ with gr.Blocks(
|
|
104 |
primary_hue=ibm_blue,
|
105 |
font=[gr.themes.GoogleFont("IBM Plex Sans"), gr.themes.GoogleFont('Source Sans 3')],
|
106 |
),
|
|
|
107 |
fill_width=False,
|
108 |
css='styles.css') as demo:
|
109 |
|
|
|
81 |
c950="#1d3660"
|
82 |
)
|
83 |
|
84 |
+
head_style = """
|
85 |
+
<style>
|
86 |
+
@media (min-width: 1536px)
|
87 |
+
{
|
88 |
+
.gradio-container {
|
89 |
+
max-width: 1124px !important;
|
90 |
+
}
|
91 |
+
}
|
92 |
+
@media (min-width: 1024px)
|
93 |
+
{
|
94 |
+
.gradio-container {
|
95 |
+
max-width: 1124px !important;
|
96 |
+
}
|
97 |
+
}
|
98 |
+
</style>
|
99 |
+
"""
|
100 |
|
101 |
with gr.Blocks(
|
102 |
title='Granite Guardian',
|
|
|
104 |
primary_hue=ibm_blue,
|
105 |
font=[gr.themes.GoogleFont("IBM Plex Sans"), gr.themes.GoogleFont('Source Sans 3')],
|
106 |
),
|
107 |
+
head=head_style,
|
108 |
fill_width=False,
|
109 |
css='styles.css') as demo:
|
110 |
|