Spaces:
Sleeping
Sleeping
project added
Browse files
app.py
CHANGED
@@ -38,6 +38,7 @@ client = Groq(api_key=os.getenv("GROQ_API_KEY_2"))
|
|
38 |
#client = Groq(api_key="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")
|
39 |
|
40 |
# Initialize spaCy NLP model for named entity recognition (NER)
|
|
|
41 |
nlp = spacy.load("en_core_web_sm")
|
42 |
|
43 |
# Initialize sentiment analysis model using Hugging Face
|
|
|
38 |
#client = Groq(api_key="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")
|
39 |
|
40 |
# Initialize spaCy NLP model for named entity recognition (NER)
|
41 |
+
spacy.cli.download("en_core_web_sm")
|
42 |
nlp = spacy.load("en_core_web_sm")
|
43 |
|
44 |
# Initialize sentiment analysis model using Hugging Face
|