alok94 commited on
Commit
e20b815
·
1 Parent(s): c6e9382

Centered heading

Browse files
Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -99,11 +99,22 @@ def predict_digit(img):
99
 
100
  # iface.launch(debug='true')
101
 
102
- with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
 
103
  with gr.Row():
104
  with gr.Column():
105
  gr.Markdown("Digit Identify", elem_id='title_head')
106
- gr.Markdown("By Alok")
107
  with gr.Row():
108
  with gr.Column():
109
  with gr.Row():
 
99
 
100
  # iface.launch(debug='true')
101
 
102
+ css='''
103
+ #title_head{
104
+ text-align: center;
105
+ text-weight: bold;
106
+ text-size:30px;
107
+ }
108
+ #name_head{
109
+ text-align: center;
110
+ }
111
+ '''
112
+
113
+ with gr.Blocks(css=css) as demo:
114
  with gr.Row():
115
  with gr.Column():
116
  gr.Markdown("Digit Identify", elem_id='title_head')
117
+ gr.Markdown("By Alok",elem_id='name_head')
118
  with gr.Row():
119
  with gr.Column():
120
  with gr.Row():