Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ from huggingface_hub import login
|
|
8 |
login(token=os.environ.get("HUGGINGFACEHUB_API_TOKEN"))
|
9 |
|
10 |
# ✅ Load Hugging Face summarization/chat model
|
11 |
-
summarizer = pipeline("
|
|
|
12 |
|
13 |
# ✅ Highlight matching and find missing keywords
|
14 |
from sklearn.feature_extraction.text import ENGLISH_STOP_WORDS
|
|
|
8 |
login(token=os.environ.get("HUGGINGFACEHUB_API_TOKEN"))
|
9 |
|
10 |
# ✅ Load Hugging Face summarization/chat model
|
11 |
+
summarizer = pipeline("text2text-generation", model="declare-lab/flan-alpaca-base")
|
12 |
+
|
13 |
|
14 |
# ✅ Highlight matching and find missing keywords
|
15 |
from sklearn.feature_extraction.text import ENGLISH_STOP_WORDS
|