Spaces:
Paused
Paused
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,115 +1,125 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
pinned: false
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Help.me AI Operator
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
+
pinned: false
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<<<<<<< HEAD
|
| 12 |
+
---
|
| 13 |
+
title: AI Operator
|
| 14 |
+
emoji: π¦
|
| 15 |
+
colorFrom: pink
|
| 16 |
+
colorTo: yellow
|
| 17 |
+
sdk: docker
|
| 18 |
+
pinned: false
|
| 19 |
+
license: mit
|
| 20 |
+
short_description: 'Agentic AI which is specialised answering emergency calls '
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 24 |
+
=======
|
| 25 |
+
Help.me - AI-Powered Emergency Medical Assistance System
|
| 26 |
+
|
| 27 |
+
"Help.me" is an AI-based platform designed to automate and accelerate communication between patients in need of urgent medical care and dispatch operators. The system receives voice messages from patients, analyzes their condition using artificial intelligence, and immediately transmits the information to a dispatcher dashboard for appropriate action.
|
| 28 |
+
|
| 29 |
+
π Key Features
|
| 30 |
+
|
| 31 |
+
For Patients (Voice-First Interface):
|
| 32 |
+
|
| 33 |
+
Voice Communication: Patients can report their symptoms simply by speaking.
|
| 34 |
+
|
| 35 |
+
Multilingual System: The AI can communicate with patients in Uzbek, Russian, and English.
|
| 36 |
+
|
| 37 |
+
Smart Recommendations: If a patient's condition is assessed as "Green" (non-urgent), the system recommends public polyclinics or private clinics based on their symptoms.
|
| 38 |
+
|
| 39 |
+
Real-time Response: The AI analyzes the request instantly and provides a voice response.
|
| 40 |
+
|
| 41 |
+
Simplified Interface: The interface is designed to be as simple as possible and voice-focused to avoid distracting the patient in stressful situations.
|
| 42 |
+
|
| 43 |
+
For Dispatchers (Monitoring Dashboard):
|
| 44 |
+
|
| 45 |
+
Real-time Monitoring: All incoming cases are displayed live on the dashboard.
|
| 46 |
+
|
| 47 |
+
Risk Triage: The AI categorizes each case into "Red" (emergency), "Yellow" (uncertain), or "Green" (clinic referral) risk levels.
|
| 48 |
+
|
| 49 |
+
Interactive Map: The locations of all ambulance brigades and clinics are tracked on a map in real time.
|
| 50 |
+
|
| 51 |
+
Statistics & Analytics: Statistical data on cases and brigades are visualized in charts.
|
| 52 |
+
|
| 53 |
+
π§ AI Models Used
|
| 54 |
+
|
| 55 |
+
Our system relies on three core AI models:
|
| 56 |
+
|
| 57 |
+
Speech-to-Text (STT):
|
| 58 |
+
|
| 59 |
+
Model: A custom model fine-tuned on top of OpenAI Whisper (medium).
|
| 60 |
+
|
| 61 |
+
Dataset: The model was trained on several datasets tailored to the conditions of Uzbekistan. This includes audio recordings in the Tashkent dialect, standard literary language, and additionally, the Khorezm dialect. This ensures high accuracy in understanding the speech of patients from various regions of the country.
|
| 62 |
+
|
| 63 |
+
Logic and Response Generation (LLM):
|
| 64 |
+
|
| 65 |
+
Model: Google Gemini Flash.
|
| 66 |
+
|
| 67 |
+
Task: To analyze the transcribed complaints from the patient, determine the severity of the situation (risk level), and formulate the text of the response. The model is guided by a strict set of rules and action sequences provided via a SYSTEM_INSTRUCTION.
|
| 68 |
+
|
| 69 |
+
Text-to-Speech (TTS):
|
| 70 |
+
|
| 71 |
+
Model: Facebook MMS (Massively Multilingual Speech).
|
| 72 |
+
|
| 73 |
+
Task: To synthesize the AI-generated response text into a natural-sounding human voice. The system uses separate TTS models for Uzbek and English.
|
| 74 |
+
|
| 75 |
+
π οΈ Technology Stack
|
| 76 |
+
|
| 77 |
+
Backend: FastAPI (Python)
|
| 78 |
+
|
| 79 |
+
Real-time Communication: WebSockets
|
| 80 |
+
|
| 81 |
+
Database: JSON-based flat files (for MVP)
|
| 82 |
+
|
| 83 |
+
Frontend: HTML, CSS, JavaScript (Vanilla JS)
|
| 84 |
+
|
| 85 |
+
Map: Leaflet.js, Charts: Chart.js
|
| 86 |
+
|
| 87 |
+
βοΈ Getting Started
|
| 88 |
+
|
| 89 |
+
1. Prerequisites:
|
| 90 |
+
|
| 91 |
+
Python 3.9+
|
| 92 |
+
|
| 93 |
+
FFmpeg (must be installed on the system to process audio files)
|
| 94 |
+
|
| 95 |
+
git
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
3. Set Up Virtual Environment and Install Dependencies:
|
| 100 |
+
|
| 101 |
+
# Create a virtual environment
|
| 102 |
+
python -m venv venv
|
| 103 |
+
|
| 104 |
+
# Activate it (Windows)
|
| 105 |
+
venv\Scripts\activate
|
| 106 |
+
|
| 107 |
+
# Activate it (MacOS/Linux)
|
| 108 |
+
source venv/bin/activate
|
| 109 |
+
|
| 110 |
+
# Install the required libraries
|
| 111 |
+
pip install -r requirements.txt
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
4. βΌοΈ IMPORTANT: Download AI Models
|
| 115 |
+
|
| 116 |
+
This repository DOES NOT include the large AI models in the local_models directory. To run the system, you must download them separately and place them in the project folder.
|
| 117 |
+
|
| 118 |
+
Note for the judges: Due to their large size (several GB), it was not feasible to upload the models to GitHub. The repository contains only the project's source code.
|
| 119 |
+
|
| 120 |
+
5. Run the Application:
|
| 121 |
+
|
| 122 |
+
uvicorn app.main:app --reload
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
>>>>>>> 0f59686 (Loyiha tayyor: Help.me AI tizimi)
|