VasudevaK commited on
Commit
984fad2
1 Parent(s): 5397177

tuned better

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -9,8 +9,6 @@ import nltk
9
  nltk.download('all')
10
  import string
11
  from sklearn.feature_extraction.text import TfidfVectorizer
12
- from sklearn.metrics.pairwise import cosine_similarity
13
-
14
  # import fastai
15
 
16
 
@@ -82,7 +80,7 @@ def NLTK(input):
82
  nltk.download('punkt')
83
  nltk.download('wordnet')
84
  sent_tokens = nltk.sent_tokenize(data)
85
- return bot(input, sent_tokens)
86
 
87
  def bot(sent_tokens):
88
  robo1_response = ''
 
9
  nltk.download('all')
10
  import string
11
  from sklearn.feature_extraction.text import TfidfVectorizer
 
 
12
  # import fastai
13
 
14
 
 
80
  nltk.download('punkt')
81
  nltk.download('wordnet')
82
  sent_tokens = nltk.sent_tokenize(data)
83
+ return bot(sent_tokens)
84
 
85
  def bot(sent_tokens):
86
  robo1_response = ''