Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -182,7 +182,7 @@ def submit_answer(category, num_categories, num_questions, questions, index, use
|
|
| 182 |
|
| 183 |
# Gradio UI setup
|
| 184 |
with gr.Blocks(theme="soft", css="footer{display:none !important}") as app:
|
| 185 |
-
gr.Markdown("""## Deep Quizzer 
|
| 186 |
Discover what you truly know and ***how aware you are of your knowledge***. Deep Quizzer identifies gaps in your understanding and helps boost your confidence in areas you excel. Take a quiz to sharpen your skills and knowledge today!""")
|
| 187 |
with gr.Row():
|
| 188 |
category_input = gr.Textbox(label="Topic", placeholder="general knowledge", scale=4)
|
|
@@ -301,4 +301,4 @@ with gr.Blocks(theme="soft", css="footer{display:none !important}") as app:
|
|
| 301 |
submit_answer_btn.click(display_results, inputs=[index_state, questions_state], outputs=[result_area])
|
| 302 |
|
| 303 |
# Launch the app
|
| 304 |
-
app.launch(share=False)
|
|
|
|
| 182 |
|
| 183 |
# Gradio UI setup
|
| 184 |
with gr.Blocks(theme="soft", css="footer{display:none !important}") as app:
|
| 185 |
+
gr.Markdown("""## Deep Quizzer 
|
| 186 |
Discover what you truly know and ***how aware you are of your knowledge***. Deep Quizzer identifies gaps in your understanding and helps boost your confidence in areas you excel. Take a quiz to sharpen your skills and knowledge today!""")
|
| 187 |
with gr.Row():
|
| 188 |
category_input = gr.Textbox(label="Topic", placeholder="general knowledge", scale=4)
|
|
|
|
| 301 |
submit_answer_btn.click(display_results, inputs=[index_state, questions_state], outputs=[result_area])
|
| 302 |
|
| 303 |
# Launch the app
|
| 304 |
+
app.launch(share=False, allowed_paths=["/"])
|