Sai004 commited on
Commit
b5b731a
·
1 Parent(s): e03c417

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"