test with menu
Browse files
app.py
CHANGED
|
@@ -56,12 +56,12 @@ model_dict = {
|
|
| 56 |
}
|
| 57 |
|
| 58 |
model_file = model_dict[selected_model]
|
| 59 |
-
model_path = os.path.join(datapath, model_file)
|
| 60 |
|
| 61 |
-
if model_path.endswith("320).pt"):
|
| 62 |
-
image_resolution = 320
|
| 63 |
-
else:
|
| 64 |
-
image_resolution = 520
|
| 65 |
|
| 66 |
|
| 67 |
#page_names_to_funcs[selected_page](n_objects, model_path)
|
|
|
|
| 56 |
}
|
| 57 |
|
| 58 |
model_file = model_dict[selected_model]
|
| 59 |
+
#model_path = os.path.join(datapath, model_file)
|
| 60 |
|
| 61 |
+
#if model_path.endswith("320).pt"):
|
| 62 |
+
# image_resolution = 320
|
| 63 |
+
#else:
|
| 64 |
+
# image_resolution = 520
|
| 65 |
|
| 66 |
|
| 67 |
#page_names_to_funcs[selected_page](n_objects, model_path)
|