Spaces:
Sleeping
Sleeping
Update pipeline.py
Browse files- pipeline.py +3 -1
pipeline.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
# pipeline.py
|
2 |
|
|
|
|
|
|
|
3 |
import os
|
4 |
import hashlib
|
5 |
import queue
|
@@ -20,7 +23,6 @@ from utils import (
|
|
20 |
)
|
21 |
import random
|
22 |
import spaces
|
23 |
-
from log import logger # updated import
|
24 |
import onnxruntime as ort
|
25 |
import warnings
|
26 |
import spaces
|
|
|
1 |
# pipeline.py
|
2 |
|
3 |
+
from log import logger, initialize_models
|
4 |
+
initialize_models()
|
5 |
+
|
6 |
import os
|
7 |
import hashlib
|
8 |
import queue
|
|
|
23 |
)
|
24 |
import random
|
25 |
import spaces
|
|
|
26 |
import onnxruntime as ort
|
27 |
import warnings
|
28 |
import spaces
|