akhaliq HF Staff commited on
Commit
e6f7d6f
·
1 Parent(s): 503ca9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import onnxruntime as rt
10
 
11
  modele = hf_hub_download(repo_id="onnx/EfficientNet-Lite4", filename="efficientnet-lite4-11.onnx")
12
  # load the labels text file
13
- labels = json.load(open("labels_map.txt", "r"))
14
 
15
  # set image file dimensions to 224x224 by resizing and cropping image from center
16
  def pre_process_edgetpu(img, dims):
 
10
 
11
  modele = hf_hub_download(repo_id="onnx/EfficientNet-Lite4", filename="efficientnet-lite4-11.onnx")
12
  # load the labels text file
13
+ labels = json.load(open("labels_maps.txt", "r"))
14
 
15
  # set image file dimensions to 224x224 by resizing and cropping image from center
16
  def pre_process_edgetpu(img, dims):