Reshmarb commited on
Commit
f47bd7a
·
1 Parent(s): 9559ebe

project added

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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