NCTCMumbai commited on
Commit
0322ea5
1 Parent(s): 9ac458e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -80,18 +80,19 @@ def json_to_excel(output_json):
80
  return temp_file.name
81
 
82
  with gr.Blocks(title="Quiz Maker", theme=gr.themes.Default(primary_hue="green", secondary_hue="green")) as QUIZBOT:
83
- with gr.Column(scale=4):
84
- # Create a single row for the HTML and Image
85
- with gr.Row():
86
- gr.Image(value='logo.png', height=200, width=200, scale=2)
87
- with gr.Row():
 
88
  gr.HTML("""
89
  <center>
90
  <h1><span style="color: purple;">ADWITIYA</span> Customs Manual Quizbot</h1>
91
  <h2>Generative AI-powered Capacity building for Training Officers</h2>
92
  <i>⚠️ NACIN Faculties create quiz from any topic dynamically for classroom evaluation after their sessions ! ⚠️</i>
93
  </center>
94
- """, scale=8)
95
 
96
 
97
 
 
80
  return temp_file.name
81
 
82
  with gr.Blocks(title="Quiz Maker", theme=gr.themes.Default(primary_hue="green", secondary_hue="green")) as QUIZBOT:
83
+
84
+ # Create a single row for the HTML and Image
85
+ with gr.Row():
86
+ with gr.Column(scale=2):
87
+ gr.Image(value='logo.png', height=200, width=200)
88
+ with gr.Column(scale=6):
89
  gr.HTML("""
90
  <center>
91
  <h1><span style="color: purple;">ADWITIYA</span> Customs Manual Quizbot</h1>
92
  <h2>Generative AI-powered Capacity building for Training Officers</h2>
93
  <i>⚠️ NACIN Faculties create quiz from any topic dynamically for classroom evaluation after their sessions ! ⚠️</i>
94
  </center>
95
+ """)
96
 
97
 
98