CodeMixed-Text-Generator icon indicating copy to clipboard operation
CodeMixed-Text-Generator copied to clipboard

Cannot compare float and str

Open cesaSalaam opened this issue 3 years ago • 3 comments

In the pre_gcm.py file, on line 49 that says if 3 < l1len <= 100 and 3 < l2len <= 100 and pfms_score <= max_pfms:

this will produce an error because you are comparing a float (the pfms_score) and a str (max_pfms). Should convert max_pfms to float so that comparison can work

cesaSalaam avatar Aug 17 '21 12:08 cesaSalaam