WENior commited on
Commit
208e04e
·
verified ·
1 Parent(s): 489b920

Upload 3 files

Browse files
Files changed (3) hide show
  1. README.md +11 -12
  2. app.py +1 -0
  3. requirements.txt +9 -0
README.md CHANGED
@@ -1,13 +1,12 @@
1
- ---
2
- title: Paper Reader Assistant
3
- emoji: 🏃
4
- colorFrom: green
5
- colorTo: purple
6
- sdk: gradio
7
- sdk_version: 5.49.1
8
- app_file: app.py
9
- pinned: false
10
- license: apache-2.0
11
- ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
1
+ # Paper Reader Assistant (Gradio on Hugging Face Spaces)
 
 
 
 
 
 
 
 
 
 
2
 
3
+ Features:
4
+ - Upload PDFs → extract text (PyMuPDF)
5
+ - Summarization (BART map-reduce)
6
+ - Keyword extraction (KeyBERT)
7
+ - RAG QA with FAISS + sentence-transformers + Flan-T5
8
+
9
+ Quick Start:
10
+ 1. Create a new **Space** with SDK = **Gradio**.
11
+ 2. Upload three files: `app.py`, `requirements.txt`, `README.md`.
12
+ 3. Wait for auto-build to finish. Open the Space URL.
app.py ADDED
@@ -0,0 +1 @@
 
 
1
+ <app.py 的完整内容略,此处在实际环境中应填充完整脚本>
requirements.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ gradio>=4.44.0
2
+ transformers>=4.44.0
3
+ torch
4
+ sentence-transformers>=3.0.0
5
+ faiss-cpu
6
+ keybert
7
+ PyMuPDF>=1.24.0
8
+ pandas
9
+ numpy