Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,13 @@ def create_chatbot_interface():
|
|
| 42 |
css='footer {visibility: hidden}') as demo:
|
| 43 |
gr.Markdown("# DB Assistant ππ¨π»βπ")
|
| 44 |
with gr.Accordion("π Description:", open=False):
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
with gr.Row():
|
| 48 |
with gr.Column(scale=1):
|
|
@@ -68,8 +74,17 @@ def create_chatbot_interface():
|
|
| 68 |
chatbot = gr.Chatbot()
|
| 69 |
msg = gr.Textbox(label="Enter your question")
|
| 70 |
clear = gr.Button("Clear")
|
| 71 |
-
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
|
| 75 |
# --- FUNCTIONS ---
|
|
|
|
| 42 |
css='footer {visibility: hidden}') as demo:
|
| 43 |
gr.Markdown("# DB Assistant ππ¨π»βπ")
|
| 44 |
with gr.Accordion("π Description:", open=False):
|
| 45 |
+
gr.Markdown(md.description)
|
| 46 |
+
with gr.Accordion('π Key Features', open=False0):
|
| 47 |
+
gr.Markdown(md.key_features)
|
| 48 |
+
with gr.Accordion('βοΈ Tech Stack Overview', open=False0):
|
| 49 |
+
gr.Markdown(md.tech_stack_overview)
|
| 50 |
+
with gr.Accordion('π§© How It Works', open=False0):
|
| 51 |
+
gr.Markdown(md.how_it_works)
|
| 52 |
|
| 53 |
with gr.Row():
|
| 54 |
with gr.Column(scale=1):
|
|
|
|
| 74 |
chatbot = gr.Chatbot()
|
| 75 |
msg = gr.Textbox(label="Enter your question")
|
| 76 |
clear = gr.Button("Clear")
|
| 77 |
+
|
| 78 |
+
with gr.Accordion("π§ Example Interaction", open=False):
|
| 79 |
+
gr.Markdown(md.example)
|
| 80 |
+
with gr.Accordion('π§βπ» Ideal Use Cases', open=False0):
|
| 81 |
+
gr.Markdown(md.use_cases)
|
| 82 |
+
with gr.Accordion('πͺ Future Enhancements', open=False0):
|
| 83 |
+
gr.Markdown(md.enhancements)
|
| 84 |
+
with gr.Accordion('π‘ Credits', open=False0):
|
| 85 |
+
gr.Markdown(md.credits)
|
| 86 |
+
|
| 87 |
+
gr.HTML(md.footer.format(github_logo_encoded, linkedin_logo_encoded, website_logo_encoded))
|
| 88 |
|
| 89 |
|
| 90 |
# --- FUNCTIONS ---
|