Spaces:
Sleeping
Sleeping
NCTCMumbai
commited on
Commit
•
54efd71
1
Parent(s):
5537c2a
Update app.py
Browse files
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 |
-
|
85 |
-
gr.
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
<
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
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 |
|