Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.1.0
metadata
title: Paper Reader Assistant
emoji: π
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
π Paper Reader Assistant (Gradio on Hugging Face Spaces)
This Space helps you read and analyze academic papers with AI assistance.
You can upload PDF files, and the app will automatically extract text, generate summaries, identify keywords, and enable question answering using RAG (Retrieval-Augmented Generation).
π Features
- π§Ύ PDF Upload β Extracts text using PyMuPDF
- βοΈ Summarization β Uses BART for map-reduce summarization
- π Keyword Extraction β Powered by KeyBERT
- β Q&A (RAG) β Combines FAISS + SentenceTransformers + Flan-T5
- π§ All-in-one academic reading assistant
βοΈ Quick Start
- Create a new Space on Hugging Face with SDK = Gradio
- Upload three files:
app.pyrequirements.txtREADME.md(this file)
- Save changes β Spaces will automatically build and launch the app
- Once itβs live, open the Space URL to start using it
π‘ Notes
- Works best on English scientific PDFs (text-based).
- For scanned PDFs, run OCR first (not yet included in this version).
- Models run on CPU by default β enable GPU for faster processing.
- You can further customize UI theme, font color, or add dark mode by editing
app.py.
π§° Tech Stack
| Component | Description |
|---|---|
| Gradio | Front-end interface |
| PyMuPDF | PDF text extraction |
| Transformers (BART) | Summarization |
| KeyBERT | Keyword extraction |
| Sentence-Transformers + FAISS | Vector retrieval for Q&A |
| Flan-T5 | Natural language generation |
Author: WENIor
License: MIT
Version: 1.0.0