akhaliq HF staff commited on
Commit
2b2a826
·
1 Parent(s): fb77f36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -65,4 +65,7 @@ def inference(img):
65
  resultdic[labels[str(r)]] = float(results[0][r])
66
  return resultdic
67
 
68
- gr.Interface(inference,gr.inputs.Image(type="filepath"),"label").launch()
 
 
 
 
65
  resultdic[labels[str(r)]] = float(results[0][r])
66
  return resultdic
67
 
68
+ title="EfficientNet-Lite4"
69
+ description="EfficientNet-Lite 4 is the largest variant and most accurate of the set of EfficientNet-Lite model. It is an integer-only quantized model that produces the highest accuracy of all of the EfficientNet models. It achieves 80.4% ImageNet top-1 accuracy, while still running in real-time (e.g. 30ms/image) on a Pixel 4 CPU."
70
+
71
+ gr.Interface(inference,gr.inputs.Image(type="filepath"),"label",title=title,description=description).launch()