ApnaCricketTeam commited on
Commit
b627554
1 Parent(s): 50e48f6
Files changed (1) hide show
  1. app.py +13 -8
app.py CHANGED
@@ -217,13 +217,21 @@ def display_selected_df(team_index,all_teams_df):
217
  intro_html='''<h3> Welcome to AI-Saathi </h3>
218
  <p>Saare fantasy problems ka solution</p>
219
  '''
 
 
 
 
 
 
 
 
220
 
221
  with gr.Blocks(theme=gr.themes.Default(primary_hue="amber", secondary_hue="pink")) as demo:
222
- # gr.HTML(intro_html)
223
- logo = Image.open("assets/IMG_0453.jpg")
224
- gr.Image(logo)
225
  with gr.Row():
226
- email_input = gr.Textbox(label="Email ID",placeholder="Enter Email for access. Querries : www.apnacricketteam.com",type='email',lines=1)
227
  with gr.Row():
228
  activation_btn=gr.Button("Load Team Data")
229
 
@@ -271,7 +279,4 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="amber", secondary_hue="pink"
271
  chat_bot.like(fn=save_like_data)
272
 
273
  demo.queue(default_concurrency_limit=3)
274
- demo.launch(share=True)
275
-
276
-
277
-
 
217
  intro_html='''<h3> Welcome to AI-Saathi </h3>
218
  <p>Saare fantasy problems ka solution</p>
219
  '''
220
+ intro_2_html = '''
221
+ <div style="display: flex; justify-content: center;" width="100%">
222
+ <!-- ↓ The original div -->
223
+ <div>
224
+ <h3> Welcome to AI-Saathi </h3>
225
+ <p>Saare fantasy problems ka solution</p>
226
+ </div>
227
+ </div>'''
228
 
229
  with gr.Blocks(theme=gr.themes.Default(primary_hue="amber", secondary_hue="pink")) as demo:
230
+ # gr.HTML(intro_2_html)
231
+ # logo = Image.open("assets/IMG_0453.jpg")
232
+ # gr.Image(logo)
233
  with gr.Row():
234
+ email_input = gr.Textbox(label="Email ID",placeholder="Enter Gmail ID for Access",type='email',lines=1)
235
  with gr.Row():
236
  activation_btn=gr.Button("Load Team Data")
237
 
 
279
  chat_bot.like(fn=save_like_data)
280
 
281
  demo.queue(default_concurrency_limit=3)
282
+ demo.launch(share=True)