File size: 1,003 Bytes
586b493
 
 
 
 
 
 
 
82961d6
 
586b493
 
82961d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
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
---
title: Medical Summary App
emoji: πŸ‘€
colorFrom: indigo
colorTo: gray
sdk: gradio
sdk_version: 5.23.3
app_file: app.py
pinned: true
license: apache-2.0
---


# πŸ₯ Medical Summarization Bot

This is a simple Gradio-based application for **summarizing medical reports and doctor-patient conversations**. It uses:

- πŸŽ™οΈ [Whisper](https://github.com/openai/whisper) (base) for automatic speech recognition (ASR)
- 🧠 [BART-Large-CNN](https://huggingface.co/facebook/bart-large-cnn) for text summarization

---

## πŸš€ Features

- Upload or record **audio** of medical conversations β†’ get transcription + summary
- Paste **text** from reports or dialogues β†’ get instant summary
- Lightweight, open-source models (runs on CPU)

---

## πŸ›  Installation

### 1. Clone the repository

```bash
git clone https://github.com/yourusername/medical-summarization-bot.git
cd medical-summarization-bot

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference