VasudevaK commited on
Commit
3e11b23
1 Parent(s): b746c0c

added solutions

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -8,6 +8,8 @@ from sklearn.metrics.pairwise import cosine_similarity
8
  import nltk
9
  nltk.download('all')
10
 
 
 
11
 
12
  def similarity(input, joke):
13
  return cosine_similarity(input, joke)
@@ -55,11 +57,12 @@ def pattern(input):
55
  continue
56
  if(syn != None):
57
  response = response.replace(substr, syn.upper())
 
58
 
59
  if(input == response):
60
  return None
61
  else:
62
- return response
63
 
64
 
65
  def GPT(input):
 
8
  import nltk
9
  nltk.download('all')
10
 
11
+ # import fastai
12
+
13
 
14
  def similarity(input, joke):
15
  return cosine_similarity(input, joke)
 
57
  continue
58
  if(syn != None):
59
  response = response.replace(substr, syn.upper())
60
+ break
61
 
62
  if(input == response):
63
  return None
64
  else:
65
+ return response+'??😁🤣'
66
 
67
 
68
  def GPT(input):