Spaces:
Runtime error
Runtime error
Rename models/__init__.py to models/init.py
Browse files- models/__init__.py +0 -2
- models/init.py +7 -0
models/__init__.py
DELETED
|
@@ -1,2 +0,0 @@
|
|
| 1 |
-
from .text_model import text_model, text_label_map
|
| 2 |
-
from .image_model import image_model
|
|
|
|
|
|
|
|
|
models/init.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Import all models here so app.py can access them easily
|
| 2 |
+
|
| 3 |
+
from .text_model_1 import text_model as text_model_1, text_label_map as text_label_map_1
|
| 4 |
+
from .text_model_2 import text_model as text_model_2, text_label_map as text_label_map_2
|
| 5 |
+
from .image_model_1 import image_model as image_model_1, image_label_map as image_label_map_1
|
| 6 |
+
from .image_model_2 import image_model as image_model_2, image_label_map as image_label_map_2
|
| 7 |
+
from .video_model import video_model
|