File size: 2,047 Bytes
9d61546
 
 
 
 
 
 
 
 
 
 
17b7da5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
eca5dfd
17b7da5
 
 
 
 
 
 
 
eca5dfd
17b7da5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d61546
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
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
---
title: ResearchpaperSummarizer
emoji: πŸ’»
colorFrom: green
colorTo: purple
sdk: gradio
sdk_version: 5.29.1
app_file: app.py
pinned: false
---

# 🧠 Research Paper Summarizer

![Gradio App](https://img.shields.io/badge/Gradio-Interface-blue?logo=gradio)
![Status](https://img.shields.io/badge/Status-Deployed-brightgreen)
[![Hugging Face Spaces](https://img.shields.io/badge/πŸ€—%20View%20on%20Hugging%20Face-orange)](https://huggingface.co/spaces/omvishesh/ResearchpaperSummarizer)

Welcome to the **Research Paper Summarizer** β€” a powerful tool designed to automatically extract and summarize text from research paper images or PDFs, while identifying key subdomains and technical topics covered in the document.

---

## πŸ”— Live Demo

➑️ **Try it now on Hugging Face Spaces**:  
πŸ‘‰ [https://huggingface.co/spaces/omvishesh/ResearchpaperSummarizer](https://huggingface.co/spaces/omvishesh/ResearchpaperSummarizer)

---

## πŸ“Œ Features

- πŸ“· Upload **research paper screenshots** or **PDFs**
- πŸ” Automatic **OCR-based text extraction** using `EasyOCR`
- 🧠 Summarization and **key subdomain detection** using `LLaMA 3` via `Langchain + Groq API`
- βœ… Simple and clean **Gradio interface**

---

## πŸš€ How It Works

1. **Upload** a research paper image or PDF.
2. The system performs **OCR** to extract readable text.
3. A custom prompt is sent to **LLaMA 3.3** using the `Groq API`.
4. The app returns:
   - A concise **summary**
   - A list of **key subdomains & topics** covered

---

## πŸ›  Tech Stack

- 🧠 **[LLaMA 3.3 -70B](https://huggingface.co/meta-llama)** via Groq API
- 🧾 **EasyOCR** for image-to-text
- βš™οΈ **Langchain** for structured prompt engineering
- πŸ–Ό **OpenCV** and **pdf2image** for input handling
- 🌐 **Gradio** for UI
- ☁️ **Deployed on Hugging Face Spaces**

---

## πŸ“¦ Requirements

To run this app locally, install the following:

```bash
pip install -r requirements.txt


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