Spaces:
Running
Running
Update app/pages/ground_truth.py
Browse files
app/pages/ground_truth.py
CHANGED
@@ -12,6 +12,12 @@ from data_processor import DataProcessor
|
|
12 |
from generate_ground_truth import generate_ground_truth, get_ground_truth_display_data
|
13 |
import logging
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
logger = logging.getLogger(__name__)
|
16 |
|
17 |
@st.cache_resource
|
|
|
12 |
from generate_ground_truth import generate_ground_truth, get_ground_truth_display_data
|
13 |
import logging
|
14 |
|
15 |
+
# Configure logging for stdout only
|
16 |
+
logging.basicConfig(
|
17 |
+
level=logging.INFO,
|
18 |
+
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
|
19 |
+
stream=sys.stdout
|
20 |
+
)
|
21 |
logger = logging.getLogger(__name__)
|
22 |
|
23 |
@st.cache_resource
|