NCTCMumbai commited on
Commit
54efd71
1 Parent(s): 5537c2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -11
app.py CHANGED
@@ -80,17 +80,21 @@ 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
-
84
- with gr.Column(scale=4):
85
- gr.HTML("""
86
- <center>
87
- <h1><span style="color: purple;">ADWITIYA</span> Customs Manual Quizbot</h1>
88
- <h2>Generative AI-powered Capacity building for Training Officers</h2>
89
- <i>⚠️ NACIN Faculties create quiz from any topic dynamically for classroom evaluation after their sessions ! ⚠️</i>
90
- </center>
91
- """)
92
- with gr.Column(scale=3):
93
- gr.Image(value='logo.png', height=200, width=200)
 
 
 
 
94
 
95
  topic = gr.Textbox(label="Enter the Topic for Quiz", placeholder="Write any topic/details from Customs Manual")
96
 
 
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(scale=1):
86
+ gr.Image(value='logo.png', height=200, width=200, scale=6)
87
+ with gr.Row(scale=4):
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=2)
95
+
96
+
97
+
98
 
99
  topic = gr.Textbox(label="Enter the Topic for Quiz", placeholder="Write any topic/details from Customs Manual")
100