Skip to content

Commit

Permalink
Update server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rwolf2467 authored Nov 21, 2024
1 parent 67a3a28 commit 28d18a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def save_data(file_path, data):


def check_chatfilter(input_str: str, badwords, goodwords):
threshold: int = 1 if len(input_str) < 50 else 2
threshold: int = 1 if len(input_str) < 150 else 2
input_data = input_str.lower().split()

for word in input_data:
Expand Down

0 comments on commit 28d18a5

Please sign in to comment.