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