Spaces:
Sleeping
Sleeping
Vela
commited on
Commit
Β·
f4bd56a
1
Parent(s):
ca9608c
updated file
Browse files- Dockerfile +1 -1
- README.md +95 -1
Dockerfile
CHANGED
@@ -17,4 +17,4 @@ RUN apt-get update && apt-get install -y tmux
|
|
17 |
|
18 |
# Start FastAPI & Streamlit together using tmux
|
19 |
|
20 |
-
CMD ["sh", "-c", "uvicorn src.backend.main:app --host 0.0.0.0 --port 8000 & sleep 5 && streamlit run frontend/home.py --server.port 7860 --server.address 0.0.0.0"]
|
|
|
17 |
|
18 |
# Start FastAPI & Streamlit together using tmux
|
19 |
|
20 |
+
CMD ["sh", "-c", "uvicorn src.backend.main:app --host 0.0.0.0 --port 8000 & sleep 5 && streamlit run src/frontend/home.py --server.port 7860 --server.address 0.0.0.0"]
|
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
title: Yuvabe Care Companion AI
|
3 |
-
emoji:
|
4 |
colorFrom: blue
|
5 |
colorTo: pink
|
6 |
sdk: docker
|
@@ -8,3 +8,97 @@ pinned: false
|
|
8 |
---
|
9 |
|
10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
title: Yuvabe Care Companion AI
|
3 |
+
emoji: π¨ββοΈπ©Ί
|
4 |
colorFrom: blue
|
5 |
colorTo: pink
|
6 |
sdk: docker
|
|
|
8 |
---
|
9 |
|
10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
11 |
+
|
12 |
+
<h1><span style="color: crimson;">Yuvabe Care Companion AI</span> - Health Assistant <img src="src\frontend\images\page_icon.jpg" alt="Streamlit logo" width="50" style="border-radius: 25px;"/></h1>
|
13 |
+
|
14 |
+
<p align="center">
|
15 |
+
<img src="src\frontend\images\page_icon.jpg" alt="Yuvabe Care Companion AI image" width="300" style="border-radius: 45px;"/>
|
16 |
+
</p>
|
17 |
+
|
18 |
+
Yuvabe Care Companion AI is an AI-powered healthcare assistant designed to provide insightful medical guidance and enhance patient interactions. It serves as a digital healthcare companion, offering real-time medical suggestions, patient support, and AI-driven analysis for better health outcomes. π
|
19 |
+
|
20 |
+
## Key Features:
|
21 |
+
|
22 |
+
-Smart Health Chat π¬: Engage with yuvabe_care_companion_ai for medical guidance, wellness tips, and symptom analysis. The AI understands health-related queries and provides relevant responses based on medical knowledge.
|
23 |
+
|
24 |
+
- Symptom Checker π₯: Enter symptoms, and yuvabe_care_companion_ai will analyze them to suggest possible conditions and next steps.
|
25 |
+
|
26 |
+
- Personalized Health Insights π: Receive personalized health recommendations based on inputs, enabling users to track wellness progress.
|
27 |
+
|
28 |
+
- Medical Knowledge Integration π: Stay informed with the latest medical research, treatment guidelines, and healthcare insights. yuvabe_care_companion_ai taps into a vast knowledge base to provide accurate responses.
|
29 |
+
|
30 |
+
|
31 |
+
- User-Friendly Interface π¨: Designed with an intuitive UI/UX, ensuring seamless interaction for both patients and healthcare providers.
|
32 |
+
|
33 |
+
|
34 |
+
## Advanced AI Capabilities:
|
35 |
+
|
36 |
+
At the heart of yuvabe_care_companion_ai is an advanced AI engine π€ trained on reliable medical sources, including healthcare databases. It understands context, maintains conversational flow, and provides precise health insights.
|
37 |
+
yuvabe_care_companion_ai's backend is a creative use of session state management, providing yuvabe_care_companion_ai with a memory, making for a consistent and coherent conversation for all your coding assistances π§ .
|
38 |
+
|
39 |
+
The backend leverages intelligent session management, allowing the assistant to retain contextual memory for a consistent healthcare experience π§ .
|
40 |
+
With efficient caching mechanisms for performance optimization and robust error handling π οΈ, yuvabe_care_companion_ai ensures seamless, secure, and reliable interactions.
|
41 |
+
|
42 |
+
yuvabe_care_companion_ai is built for the future of digital healthcare, with extensibility and modularity at its core. The integration of LangChain enhances conversational depth, making it more than just an AIβitβs a true healthcare companion π€.
|
43 |
+
|
44 |
+
In the evolving landscape of digital health, yuvabe_care_companion_ai stands as a beacon of innovation and patient-centered AI solutions. Whether you're a healthcare provider or an individual seeking guidance, yuvabe_care_companion_ai is here to support your well-being with AI-driven intelligence. β¨
|
45 |
+
|
46 |
+
## Setup Instructions
|
47 |
+
|
48 |
+
To deploy yuvabe_care_companion_ai on your system, follow these steps:
|
49 |
+
### Prerequisites
|
50 |
+
|
51 |
+
- Python 3.10 or higher
|
52 |
+
- Pip package manager
|
53 |
+
|
54 |
+
### API Keys
|
55 |
+
|
56 |
+
Use secrets.toml an add your OpenAI API key or set your enviroment variable OPENAI_API_KEY to your API key.
|
57 |
+
|
58 |
+
### Installation
|
59 |
+
|
60 |
+
1. Clone the repository:
|
61 |
+
|
62 |
+
```bash
|
63 |
+
git clone https://github.com/Vela-Test1993/yuvabe-care-companion-ai
|
64 |
+
cd yuvabe_care_companion_ai
|
65 |
+
```
|
66 |
+
|
67 |
+
2. Create and activate a virtual environment (optional but recommended):
|
68 |
+
```bash
|
69 |
+
python3 -m venv venv
|
70 |
+
source venv/bin/activate # On Windows use venv\Scripts\activate
|
71 |
+
```
|
72 |
+
|
73 |
+
3. Install the required packages:
|
74 |
+
|
75 |
+
```bash
|
76 |
+
pip install -r requirements.txt
|
77 |
+
```
|
78 |
+
|
79 |
+
### Running the Application
|
80 |
+
|
81 |
+
To run yuvabe_care_companion_ai, execute the following command:
|
82 |
+
|
83 |
+
```bash
|
84 |
+
streamlit run yuvabe_care_companion_ai.py
|
85 |
+
```
|
86 |
+
|
87 |
+
This will start the Streamlit server, and you should see output indicating the local URL where the app is being served, typically `http://localhost:8501`.
|
88 |
+
|
89 |
+
## Using Yuvabe Care Companion AI
|
90 |
+
|
91 |
+
Once launched, interact with Yuvabe Care Companion AI as follows:
|
92 |
+
|
93 |
+
- **Health Chat Interface**: Type in any health-related query, such as "What should I do for a mild fever?" and receive AI-powered guidance.
|
94 |
+
|
95 |
+
- **Symptom Checker**: Enter symptoms, and yuvabe_care_companion_ai will analyze and provide possible conditions or next steps.
|
96 |
+
|
97 |
+
- **Personalized Health Tips**: Get tailored wellness recommendations based on your inputs.
|
98 |
+
|
99 |
+
- **Code Examples**: Ask for code examples by typing queries such as "My little finger is swallon. Please suggest a remedy ?" and Yuvabe Care Companion AI will provide you with the relevant suggestion.
|
100 |
+
|
101 |
+
|
102 |
+
## Contributions
|
103 |
+
|
104 |
+
If you'd like to contribute to Yuvabe Care Companion AI, please fork the repository and create a pull request with your features or fixes.
|