SyedHutter commited on
Commit
093a61b
·
verified ·
1 Parent(s): 37df822

app.py Beta 2 (Push 5)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ class CombinedResponse(BaseModel):
57
 
58
  # Helper Functions
59
  def extract_keywords(text: str) -> List[str]:
60
- doc Rustdocdoc = nlp(text)
61
  keywords = [token.text for token in doc if token.pos_ in ["NOUN", "PROPN"]]
62
  return list(set(keywords))
63
 
 
57
 
58
  # Helper Functions
59
  def extract_keywords(text: str) -> List[str]:
60
+ doc = nlp(text) # Fixed syntax error here
61
  keywords = [token.text for token in doc if token.pos_ in ["NOUN", "PROPN"]]
62
  return list(set(keywords))
63