aniudupa commited on
Commit
5c91118
·
verified ·
1 Parent(s): 1f93c79

Update app/lawbot.py

Browse files
Files changed (1) hide show
  1. app/lawbot.py +1 -1
app/lawbot.py CHANGED
@@ -93,7 +93,7 @@ def is_valid_question(question: str) -> bool:
93
  "legal", "court", "justice", "offense", "fraud", "murder", "theft",
94
  "bail", "arrest", "FIR", "judgment", "act", "contract", "constitutional",
95
  "habeas corpus", "petition", "rights", "lawyer", "advocate", "accused",
96
- "penal", "conviction", "sentence", "appeal", "trial", "witness"
97
  ]
98
 
99
  # Check if the question contains at least one legal keyword
 
93
  "legal", "court", "justice", "offense", "fraud", "murder", "theft",
94
  "bail", "arrest", "FIR", "judgment", "act", "contract", "constitutional",
95
  "habeas corpus", "petition", "rights", "lawyer", "advocate", "accused",
96
+ "penal", "conviction", "sentence", "appeal", "trial", "witness", "case", "file"
97
  ]
98
 
99
  # Check if the question contains at least one legal keyword