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

tuned model

Browse files
Files changed (2) hide show
  1. app.py +0 -2
  2. corpus.txt +3 -1
app.py CHANGED
@@ -77,8 +77,6 @@ def NLTK(input):
77
  f = open('corpus.txt', errors='strict')
78
  data = f.read()
79
  data = data.lower()
80
- nltk.download('punkt')
81
- nltk.download('wordnet')
82
  sent_tokens = nltk.sent_tokenize(data)
83
  return bot(sent_tokens)
84
 
 
77
  f = open('corpus.txt', errors='strict')
78
  data = f.read()
79
  data = data.lower()
 
 
80
  sent_tokens = nltk.sent_tokenize(data)
81
  return bot(sent_tokens)
82
 
corpus.txt CHANGED
@@ -97,4 +97,6 @@ Wanna hear a pun about long hair? Rapunzel.
97
  What's the difference Donald Trump and my Vagina? One's a Cunt and the other has nice hair.
98
  My doctor had to put me on a new medication that's supposed to help lower the amount of karate in my blood
99
  [uses the restroom] Wife: make sure to put the toilet seat down Me: okay Me: [to toilet seat] you're worthless and nobody likes you
100
- Q: What's the difference between a blonde and a supermarket trolley? A: The supermarket trolley has a mind of its own.
 
 
 
97
  What's the difference Donald Trump and my Vagina? One's a Cunt and the other has nice hair.
98
  My doctor had to put me on a new medication that's supposed to help lower the amount of karate in my blood
99
  [uses the restroom] Wife: make sure to put the toilet seat down Me: okay Me: [to toilet seat] you're worthless and nobody likes you
100
+ Q: What's the difference between a blonde and a supermarket trolley? A: The supermarket trolley has a mind of its own.
101
+ I don't understand the joke, one need to be smart to understand the joke,
102
+ You fool, Thank you!