Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,13 +13,13 @@ hw_location = "@cloud"
|
|
| 13 |
# Use cloud_zoo_url for @cloud, @local, and AI server inference options.
|
| 14 |
# Use '' for an AI server serving models from a local folder.
|
| 15 |
# Use a path to a JSON file for a single model zoo in case of @local inference.
|
| 16 |
-
model_zoo_url = "https://cs.degirum.com/degirum/
|
| 17 |
|
| 18 |
# lp_det_model_name: Name of the model for license plate detection.
|
| 19 |
-
lp_det_model_name = "
|
| 20 |
|
| 21 |
# lp_ocr_model_name: Name of the model for license plate OCR.
|
| 22 |
-
lp_ocr_model_name = "
|
| 23 |
|
| 24 |
# Connect to AI inference engine
|
| 25 |
model_zoo = dg.connect(hw_location, model_zoo_url, token=st.secrets["DG_TOKEN"])
|
|
|
|
| 13 |
# Use cloud_zoo_url for @cloud, @local, and AI server inference options.
|
| 14 |
# Use '' for an AI server serving models from a local folder.
|
| 15 |
# Use a path to a JSON file for a single model zoo in case of @local inference.
|
| 16 |
+
model_zoo_url = "https://cs.degirum.com/degirum/degirum"
|
| 17 |
|
| 18 |
# lp_det_model_name: Name of the model for license plate detection.
|
| 19 |
+
lp_det_model_name = "yolov8n_relu6_global_lp_det--640x640_quant_n2x_orca1_1"
|
| 20 |
|
| 21 |
# lp_ocr_model_name: Name of the model for license plate OCR.
|
| 22 |
+
lp_ocr_model_name = "yolov8s_relu6_lp_ocr_7ch--256x128_quant_n2x_orca1_1"
|
| 23 |
|
| 24 |
# Connect to AI inference engine
|
| 25 |
model_zoo = dg.connect(hw_location, model_zoo_url, token=st.secrets["DG_TOKEN"])
|