zykrix commited on
Commit
1eb63ff
·
1 Parent(s): a7fed31

Fixing all the error

Browse files
Files changed (3) hide show
  1. README.md +13 -9
  2. huggingface.yaml +5 -0
  3. requirements.txt +5 -2
README.md CHANGED
@@ -1,14 +1,18 @@
 
1
  ---
2
- title: "NLP-Assistant"
3
- emoji: "🧠"
4
- colorFrom: "blue"
5
- colorTo: "purple"
6
- sdk: "gradio"
7
- sdk_version: "4.16.0"
8
- app_file: "app.py"
9
- license: "mit"
 
 
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==4.16.0
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.6.0
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