akhaliq HF staff commited on
Commit
779c4c9
1 Parent(s): 94ca446

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -5,7 +5,9 @@ import onnxruntime as rt
5
  import cv2
6
  import json
7
  import gradio as gr
 
8
 
 
9
  # load the labels text file
10
  labels = json.load(open("labels_map.txt", "r"))
11
 
 
5
  import cv2
6
  import json
7
  import gradio as gr
8
+ from huggingface_hub import hf_hub_download
9
 
10
+ hf_hub_download(repo_id="onnx/EfficientNet-Lite4", filename="efficientnet-lite4-11.onnx")
11
  # load the labels text file
12
  labels = json.load(open("labels_map.txt", "r"))
13