Martín Santillán Cooper commited on
Commit
f28bf9f
1 Parent(s): 0808846
Files changed (1) hide show
  1. app.py +17 -16
app.py CHANGED
@@ -81,22 +81,22 @@ ibm_blue = gr.themes.Color(
81
  c950="#1d3660"
82
  )
83
 
84
- # head_style = """
85
- # <style>
86
- # @media (min-width: 1536px)
87
- # {
88
- # .gradio-container {
89
- # max-width: 1024px !important;
90
- # }
91
- # }
92
- # @media (min-width: 1024px)
93
- # {
94
- # .gradio-container {
95
- # max-width: 1024px !important;
96
- # }
97
- # }
98
- # </style>
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