Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,4 +65,7 @@ def inference(img):
|
|
65 |
resultdic[labels[str(r)]] = float(results[0][r])
|
66 |
return resultdic
|
67 |
|
68 |
-
|
|
|
|
|
|
|
|
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()
|