--- title: DoctorAi Offline emoji: 🐠 colorFrom: blue colorTo: pink sdk: gradio sdk_version: 5.1.0 app_file: app.py pinned: false short_description: DoctorAi That Helps You With The Injury and Other, Offline --- # Doctor AI - Offline Medical Chatbot ## Overview 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. ## Features - Ask Doctor AI about injuries, symptoms, and other health-related topics. - **Fully offline functionality**. - Based on a custom-trained deep learning model. ## Setup ### Requirements - Python 3.x - TensorFlow 2.x - Gradio for the user interface ### Steps to Run Locally 1. **Clone the Repository**: ```bash git clone https://huggingface.co/spaces/szili2011/DoctorAi-Offline/ cd doctor-ai-offline ``` 2. **Install Dependencies**: Make sure all necessary Python packages are installed by running: ```bash pip install -r requirements.txt ``` 3. **Download the Model**: 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. 4. **Run the Application**: ```bash python app.py ``` 5. Open the Gradio interface and start chatting with Doctor AI. **This chatbot works completely offline.** ## Model Information 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.