prithivMLmods commited on
Commit
25a5f78
·
verified ·
1 Parent(s): 8842d27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -228,10 +228,16 @@ def generate(input_dict: dict, chat_history: list[dict],
228
 
229
 
230
  css = '''
231
- .gradio-container{max-width: 1000px !important}
232
- h1{text-align:center}
 
 
 
 
 
 
233
  footer {
234
- visibility: hidden
235
  }
236
  '''
237
 
 
228
 
229
 
230
  css = '''
231
+ .gradio-container {
232
+ max-width: 1000px !important;
233
+ margin: 0 auto; /* centers the container horizontally */
234
+ text-align: center; /* centers text and inline elements */
235
+ }
236
+ h1 {
237
+ text-align: center; /* ensures any H1 headers are also centered */
238
+ }
239
  footer {
240
+ visibility: hidden; /* hides the footer */
241
  }
242
  '''
243