ksvmuralidhar commited on
Commit
ed885a1
1 Parent(s): 6bf5d09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ CLASS_INDICES = {'Bean': 0,
30
  'Radish': 13,
31
  'Tomato': 14}
32
 
33
- @lru_cache(max_size=1)
34
  def load_model():
35
  interpreter = lite.Interpreter(model_path=os.path.join("models", "vegetable_classification_model_mnet.tflite"))
36
  print('loaded model')
 
30
  'Radish': 13,
31
  'Tomato': 14}
32
 
33
+ @lru_cache(maxsize=1)
34
  def load_model():
35
  interpreter = lite.Interpreter(model_path=os.path.join("models", "vegetable_classification_model_mnet.tflite"))
36
  print('loaded model')