Spaces:
Running
Running
zykrix
commited on
Commit
·
1eb63ff
1
Parent(s):
a7fed31
Fixing all the error
Browse files- README.md +13 -9
- huggingface.yaml +5 -0
- requirements.txt +5 -2
README.md
CHANGED
@@ -1,14 +1,18 @@
|
|
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
-
sdk:
|
7 |
-
sdk_version:
|
8 |
-
app_file:
|
9 |
-
|
|
|
|
|
10 |
---
|
11 |
|
|
|
12 |
# 🤖 NLP Assistant
|
13 |
|
14 |
A lightweight NLP-powered assistant that provides **summarization**, **news classification**, and **event detection** from text, PDF uploads, or article URLs. Built using `Transformers`, `KeyBERT`, `Streamlit`, and `pdfplumber`.
|
@@ -83,4 +87,4 @@ Gmail: [email protected]
|
|
83 |
|
84 |
---
|
85 |
|
86 |
-
## Deployment
|
|
|
1 |
+
|
2 |
---
|
3 |
+
title: NLP Assistant
|
4 |
+
emoji: 🧠
|
5 |
+
colorFrom: blue
|
6 |
+
colorTo: indigo
|
7 |
+
sdk: gradio
|
8 |
+
sdk_version: 5.27.0
|
9 |
+
app_file: app.py
|
10 |
+
python_version: 3.11
|
11 |
+
hardware: cpu-basic
|
12 |
+
pinned: false
|
13 |
---
|
14 |
|
15 |
+
|
16 |
# 🤖 NLP Assistant
|
17 |
|
18 |
A lightweight NLP-powered assistant that provides **summarization**, **news classification**, and **event detection** from text, PDF uploads, or article URLs. Built using `Transformers`, `KeyBERT`, `Streamlit`, and `pdfplumber`.
|
|
|
87 |
|
88 |
---
|
89 |
|
90 |
+
## Deployment
|
huggingface.yaml
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
sdk: gradio
|
2 |
+
sdk_version: 5.27.0
|
3 |
+
app_file: app.py
|
4 |
+
python_version: "3.10"
|
5 |
+
hardware: cpu-basic
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
gradio==
|
2 |
transformers==4.41.1
|
3 |
sentence-transformers==3.2.0
|
4 |
scikit-learn==1.3.2
|
@@ -9,9 +9,12 @@ nltk==3.9.1
|
|
9 |
pdfplumber==0.11.5
|
10 |
newspaper3k==0.2.8
|
11 |
pandas==2.2.3
|
12 |
-
torch==2.
|
13 |
numpy==1.26.4
|
14 |
lxml_html_clean==0.1.1
|
15 |
lxml==5.3.1
|
|
|
16 |
beautifulsoup4
|
17 |
requests
|
|
|
|
|
|
1 |
+
gradio==5.27.0
|
2 |
transformers==4.41.1
|
3 |
sentence-transformers==3.2.0
|
4 |
scikit-learn==1.3.2
|
|
|
9 |
pdfplumber==0.11.5
|
10 |
newspaper3k==0.2.8
|
11 |
pandas==2.2.3
|
12 |
+
torch==2.1.2+cpu
|
13 |
numpy==1.26.4
|
14 |
lxml_html_clean==0.1.1
|
15 |
lxml==5.3.1
|
16 |
+
flask==2.3.3
|
17 |
beautifulsoup4
|
18 |
requests
|
19 |
+
gunicorn==21.2.0
|
20 |
+
-f https://download.pytorch.org/whl/torch_stable.html
|