Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
# Import tabs from modular files
|
| 4 |
+
from tabs.therapy_chat import therapy_chat_tab
|
| 5 |
+
from tabs.faq_assistant import faq_assistant_tab
|
| 6 |
+
from tabs.symptom_checker import symptom_checker_tab
|
| 7 |
+
|
| 8 |
+
# Main Gradio UI
|
| 9 |
+
with gr.Blocks() as demo:
|
| 10 |
+
with gr.Tab("Therapy Chat"):
|
| 11 |
+
therapy_chat_tab()
|
| 12 |
+
|
| 13 |
+
with gr.Tab("FAQ Assistant"):
|
| 14 |
+
faq_assistant_tab()
|
| 15 |
+
|
| 16 |
+
with gr.Tab("Symptom Checker"):
|
| 17 |
+
symptom_checker_tab()
|
| 18 |
+
|
| 19 |
+
# Launch the app
|
| 20 |
+
demo.launch()
|