Update apps/gradio_app.py
Browse files- apps/gradio_app.py +0 -1
apps/gradio_app.py
CHANGED
|
@@ -14,7 +14,6 @@ custom_css = open(os.path.join(os.path.dirname(__file__), "gradio_app", "static"
|
|
| 14 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
| 15 |
|
| 16 |
# Define model directory and get available models
|
| 17 |
-
# model_dir = os.path.join(os.path.dirname(__file__), "..", "ckpts", "yolo", "finetune", "runs", "license_plate_detector", "weights")
|
| 18 |
model_dir = os.path.join("ckpts", "yolo", "finetune", "runs", "license_plate_detector", "weights")
|
| 19 |
model_files = [f for f in os.listdir(model_dir) if os.path.isfile(os.path.join(model_dir, f))]
|
| 20 |
model_files = [os.path.join(model_dir, f) for f in model_files]
|
|
|
|
| 14 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
| 15 |
|
| 16 |
# Define model directory and get available models
|
|
|
|
| 17 |
model_dir = os.path.join("ckpts", "yolo", "finetune", "runs", "license_plate_detector", "weights")
|
| 18 |
model_files = [f for f in os.listdir(model_dir) if os.path.isfile(os.path.join(model_dir, f))]
|
| 19 |
model_files = [os.path.join(model_dir, f) for f in model_files]
|