Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,6 @@ from strip_measure_4_0 import prepare_networks_for_measurement, measure_strip
|
|
| 33 |
import plotly.express as px
|
| 34 |
import pandas as pd
|
| 35 |
|
| 36 |
-
|
| 37 |
IMG_BASE_DIR = 'images'
|
| 38 |
CAMERA_MATRIX = [
|
| 39 |
[11100, 0, 1604],
|
|
@@ -252,7 +251,14 @@ model_emoji = '⚙️'
|
|
| 252 |
profile_emoji = '📈'
|
| 253 |
st.title('PantoScanner')
|
| 254 |
#st.subheader(f'Source Image')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 255 |
st.image(st.session_state['current_image_array'])
|
|
|
|
| 256 |
col1, col2, col3 = st.columns(3)
|
| 257 |
# insert prev button --> decrement image_selected_index i = min(i -= 1, 0) % or just overflow to last image
|
| 258 |
with col1:
|
|
|
|
| 33 |
import plotly.express as px
|
| 34 |
import pandas as pd
|
| 35 |
|
|
|
|
| 36 |
IMG_BASE_DIR = 'images'
|
| 37 |
CAMERA_MATRIX = [
|
| 38 |
[11100, 0, 1604],
|
|
|
|
| 251 |
profile_emoji = '📈'
|
| 252 |
st.title('PantoScanner')
|
| 253 |
#st.subheader(f'Source Image')
|
| 254 |
+
|
| 255 |
+
multi = '''This app processes the detection and segementation of a
|
| 256 |
+
Pantograph Sliding element from a train - and - demonstrates the
|
| 257 |
+
extraction of the thickness by displaying it in a chart.'''
|
| 258 |
+
st.markdown(multi)
|
| 259 |
+
|
| 260 |
st.image(st.session_state['current_image_array'])
|
| 261 |
+
|
| 262 |
col1, col2, col3 = st.columns(3)
|
| 263 |
# insert prev button --> decrement image_selected_index i = min(i -= 1, 0) % or just overflow to last image
|
| 264 |
with col1:
|