Spaces:
Runtime error
Runtime error
Greg Thompson commited on
Commit ·
4e0ade3
1
Parent(s): cfc86b2
Update nlu to fix integer issue
Browse files109 unmodified lines110111112113113114115116117118119109 unmodified lines ] for command in commands: try: ratio = fuzz.ratio(command, message_text.lower()) ratio = fuzz.ratio(command, message_text.lower()) except: ratio = 0 if ratio > 80: nlu_response['data'] = command nlu_response['confidence'] = ratio / 100mathtext_fastapi/nlu.py+4-1