szili2011 commited on
Commit
30ad5fe
1 Parent(s): 1474fc7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -1
README.md CHANGED
@@ -9,5 +9,46 @@ app_file: app.py
9
  pinned: false
10
  short_description: DoctorAi That Helps You With The Injury and Other, Offline
11
  ---
 
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  short_description: DoctorAi That Helps You With The Injury and Other, Offline
11
  ---
12
+ # Doctor AI - Offline Medical Chatbot
13
 
14
+ ## Overview
15
+ Doctor AI is an **offline chatbot** designed to answer medical-related questions. It utilizes a pre-trained deep learning model for natural language understanding and **works completely offline**. No internet connection is required once it's set up.
16
+
17
+ ## Features
18
+ - Ask Doctor AI about injuries, symptoms, and other health-related topics.
19
+ - **Fully offline functionality**.
20
+ - Based on a custom-trained deep learning model.
21
+
22
+ ## Setup
23
+
24
+ ### Requirements
25
+ - Python 3.x
26
+ - TensorFlow 2.x
27
+ - Gradio for the user interface
28
+
29
+ ### Steps to Run Locally
30
+
31
+ 1. **Clone the Repository**:
32
+ ```bash
33
+ git clone <your-repo-url>
34
+ cd doctor-ai-offline
35
+ ```
36
+
37
+ 2. **Install Dependencies**:
38
+ Make sure all necessary Python packages are installed by running:
39
+ ```bash
40
+ pip install -r requirements.txt
41
+ ```
42
+
43
+ 3. **Download the Model**:
44
+ Ensure the trained model (`doctor_ai_model.h5`) is in the same folder as the code, or update the `model_path` in `app.py` to point to the correct location.
45
+
46
+ 4. **Run the Application**:
47
+ ```bash
48
+ python app.py
49
+ ```
50
+
51
+ 5. Open the Gradio interface and start chatting with Doctor AI. **This chatbot works completely offline.**
52
+
53
+ ## Model Information
54
+ The chatbot model was trained on a medical QA dataset and uses TensorFlow for inference. It is designed to work entirely offline once the model is loaded.