Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -246,7 +246,7 @@ def get_links(user_input):
|
|
| 246 |
|
| 247 |
def validation(user_input):
|
| 248 |
user_words = set(user_input.lower().split())
|
| 249 |
-
if any(word in stop_words for word in user_words):
|
| 250 |
return "valid"
|
| 251 |
else:
|
| 252 |
return "invalid"
|
|
|
|
| 246 |
|
| 247 |
def validation(user_input):
|
| 248 |
user_words = set(user_input.lower().split())
|
| 249 |
+
if any(word not in stop_words for word in user_words):
|
| 250 |
return "valid"
|
| 251 |
else:
|
| 252 |
return "invalid"
|