Spaces:
Sleeping
Sleeping
docsa_HD
commited on
Commit
•
e031c09
1
Parent(s):
00f7041
add .env
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ colorFrom: indigo
|
|
5 |
colorTo: pink
|
6 |
sdk: streamlit
|
7 |
sdk_version: 1.40.2
|
8 |
-
app_file:
|
9 |
pinned: false
|
10 |
---
|
11 |
|
|
|
5 |
colorTo: pink
|
6 |
sdk: streamlit
|
7 |
sdk_version: 1.40.2
|
8 |
+
app_file: streamlit_app.py
|
9 |
pinned: false
|
10 |
---
|
11 |
|
main.py
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
-
from src.
|
2 |
-
|
3 |
-
|
4 |
|
5 |
-
#
|
6 |
-
|
|
|
|
|
|
|
7 |
|
8 |
-
|
9 |
-
app = HealthcareUI()
|
10 |
-
app.run()
|
|
|
1 |
+
from src.agent import HealthcareAgent
|
2 |
+
# Initialize agent
|
3 |
+
agent = HealthcareAgent()
|
4 |
|
5 |
+
# Process a query
|
6 |
+
response = agent.process(
|
7 |
+
"What is the current ER occupancy and wait time?",
|
8 |
+
thread_id="example-thread"
|
9 |
+
)
|
10 |
|
11 |
+
print(response)
|
|
|
|