Spaces:
Runtime error
Runtime error
placehoder moves to debug only
Browse files- src/read_logs.py +7 -7
src/read_logs.py
CHANGED
@@ -60,14 +60,14 @@ class LogAnalyser:
|
|
60 |
# st.session_state.path=self.path
|
61 |
|
62 |
self.update_df()
|
63 |
-
for name in ['c1plot', 'c2plot']:
|
64 |
-
self.placeholder[name] = st.empty()
|
65 |
-
# image = cv2.imread(f'data/img/{name}.png')
|
66 |
-
# image=cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
67 |
-
|
68 |
-
image = mpimg.imread(f'data/img/{name}.png')
|
69 |
-
self.placeholder[name].image(image)
|
70 |
if self.debug:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
self.get_c1_plot()
|
72 |
self.get_c2_plot()
|
73 |
|
|
|
60 |
# st.session_state.path=self.path
|
61 |
|
62 |
self.update_df()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
if self.debug:
|
64 |
+
for name in ['c1plot', 'c2plot']:
|
65 |
+
self.placeholder[name] = st.empty()
|
66 |
+
# image = cv2.imread(f'data/img/{name}.png')
|
67 |
+
# image=cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
68 |
+
|
69 |
+
image = mpimg.imread(f'data/img/{name}.png')
|
70 |
+
self.placeholder[name].image(image)
|
71 |
self.get_c1_plot()
|
72 |
self.get_c2_plot()
|
73 |
|