flake8 fixes

This commit is contained in:
frederik
2025-08-02 19:32:43 +02:00
parent 927a1da534
commit df15948083
3 changed files with 8 additions and 11 deletions
+2 -4
View File
@@ -11,9 +11,10 @@ try:
except BaseException:
from tensorflow import lite as tflite
M_INTERPRETER, M_INPUT_LAYER_INDEX, M_OUTPUT_LAYER_INDEX, CLASSES = (None, None, None, None)
def loadMetaModel():
global M_INTERPRETER
global M_INPUT_LAYER_INDEX
global M_OUTPUT_LAYER_INDEX
@@ -42,9 +43,6 @@ def loadMetaModel():
def predictFilter(lat, lon, week):
global M_INTERPRETER
# Does interpreter exist?
try:
if M_INTERPRETER is None: