docsa_HD commited on
Commit
e031c09
1 Parent(s): 00f7041
Files changed (2) hide show
  1. README.md +1 -1
  2. main.py +9 -8
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: indigo
5
  colorTo: pink
6
  sdk: streamlit
7
  sdk_version: 1.40.2
8
- app_file: app.py
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.ui import HealthcareUI
2
- import os
3
- from dotenv import load_dotenv
4
 
5
- # Load environment variables
6
- load_dotenv()
 
 
 
7
 
8
- if __name__ == "__main__":
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)