Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -703,7 +703,16 @@ def json_to_excel(output_json):
|
|
703 |
df.to_excel(temp_file.name, index=False)
|
704 |
return temp_file.name
|
705 |
|
706 |
-
with gr.Blocks(title="Quiz Maker", theme=gr.themes.Default(primary_hue="green", secondary_hue="green")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
707 |
topic = gr.Textbox(label="Enter the Topic for Quiz", placeholder="Write any topic/details from Customs Manual")
|
708 |
|
709 |
with gr.Row():
|
|
|
703 |
df.to_excel(temp_file.name, index=False)
|
704 |
return temp_file.name
|
705 |
|
706 |
+
with gr.Blocks(title="Quiz Maker", theme=gr.themes.Default(primary_hue="green", secondary_hue="green")) as QUIZBOT:
|
707 |
+
with gr.Column(scale=4):
|
708 |
+
# gr.HTML("""
|
709 |
+
# <center>
|
710 |
+
# <h1><span style="color: purple;">ADWITIYA</span> Customs Manual Quizbot</h1>
|
711 |
+
# <h2>Generative AI-powered Capacity building for Training Officers</h2>
|
712 |
+
# <i>⚠️ NACIN Faculties create quiz from any topic dynamically for classroom evaluation after their sessions ! ⚠️</i>
|
713 |
+
# </center>
|
714 |
+
# """)
|
715 |
+
|
716 |
topic = gr.Textbox(label="Enter the Topic for Quiz", placeholder="Write any topic/details from Customs Manual")
|
717 |
|
718 |
with gr.Row():
|