Arafath10 commited on
Commit
603f94d
1 Parent(s): aa43a84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -215,13 +215,13 @@ from PyDictionary import PyDictionary
215
  def greet(name1):
216
  name = name1.lower()
217
 
218
- dictionary=PyDictionary()
219
- dic = dictionary.meaning(name)
220
 
221
- try:
222
- return "Noun :"+ str(dic['Noun']) + "\nVerb :"+ str(dic['Verb'])
223
- except :
224
- return dic
225
 
226
  if "who are you" in name or "what is you" in name or "your name" in name or"who r u" in name:
227
 
 
215
  def greet(name1):
216
  name = name1.lower()
217
 
218
+ #dictionary=PyDictionary()
219
+ #dic = dictionary.meaning(name)
220
 
221
+ #try:
222
+ #return "Noun :"+ str(dic['Noun']) + "\nVerb :"+ str(dic['Verb'])
223
+ #except :
224
+ #return dic
225
 
226
  if "who are you" in name or "what is you" in name or "your name" in name or"who r u" in name:
227