TypeError: '<' not supported between instances of 'str' and 'float' code example
Example: TypeError: '>' not supported between instances of 'NoneType' and 'float' site:stackoverflow.com
if logs.get('acc') is not None and logs.get('acc') > 0.95:
if logs.get('acc') is not None and logs.get('acc') > 0.95: