Spaces:
Sleeping
Sleeping
Commit
·
4064362
1
Parent(s):
6bd0d8c
Disable development mode for model initialization and prediction functions
Browse files
main.py
CHANGED
|
@@ -25,7 +25,7 @@ from utilities.constants import BIOMED_CLASSES
|
|
| 25 |
from inference_utils.inference import interactive_infer_image
|
| 26 |
|
| 27 |
# If True, then mock init_model() and predict() functions will be used.
|
| 28 |
-
DEV_MODE =
|
| 29 |
|
| 30 |
gr.set_static_paths(["assets"])
|
| 31 |
|
|
|
|
| 25 |
from inference_utils.inference import interactive_infer_image
|
| 26 |
|
| 27 |
# If True, then mock init_model() and predict() functions will be used.
|
| 28 |
+
DEV_MODE = False
|
| 29 |
|
| 30 |
gr.set_static_paths(["assets"])
|
| 31 |
|