Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,8 @@ from transformers import pipeline
|
|
3 |
import re
|
4 |
|
5 |
# ✅ Load Hugging Face summarization/chat model
|
6 |
-
summarizer = pipeline("text-generation", model="
|
|
|
7 |
|
8 |
# ✅ Highlight matching and find missing keywords
|
9 |
from sklearn.feature_extraction.text import ENGLISH_STOP_WORDS
|
|
|
3 |
import re
|
4 |
|
5 |
# ✅ Load Hugging Face summarization/chat model
|
6 |
+
summarizer = pipeline("text-generation", model="tiiuae/falcon-7b-instruct")
|
7 |
+
|
8 |
|
9 |
# ✅ Highlight matching and find missing keywords
|
10 |
from sklearn.feature_extraction.text import ENGLISH_STOP_WORDS
|