Update app.py
Browse files
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 |
|