Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,5 +54,18 @@ with gr.Blocks() as demo:
|
|
| 54 |
|
| 55 |
quiz_input.submit(quiz_bot, [quiz_input, quiz_state], [quiz_input, quiz_chat, quiz_state])
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
demo.launch()
|
| 58 |
|
|
|
|
| 54 |
|
| 55 |
quiz_input.submit(quiz_bot, [quiz_input, quiz_state], [quiz_input, quiz_chat, quiz_state])
|
| 56 |
|
| 57 |
+
# --- Tab 3: Information Section ---
|
| 58 |
+
with gr.Tab("Information"):
|
| 59 |
+
gr.Markdown("""
|
| 60 |
+
## ℹ️ Information
|
| 61 |
+
Welcome to the chatbot app!
|
| 62 |
+
- **Chat** tab: Talk to the bot freely.
|
| 63 |
+
- **Quiz** tab: Test your knowledge with fun questions.
|
| 64 |
+
- **Information** tab: Read instructions, rules, or any helpful content here.
|
| 65 |
+
|
| 66 |
+
**Tip:** You can customize this section with HTML, Markdown, or even images.
|
| 67 |
+
""")
|
| 68 |
+
gr.Image("https://huggingface.co/front/assets/huggingface_logo-noborder.svg", label="Example Image")
|
| 69 |
+
|
| 70 |
demo.launch()
|
| 71 |
|