Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -249,6 +249,7 @@ if 'models' not in st.session_state:
|
|
| 249 |
image_emoji = '📷'
|
| 250 |
model_emoji = '⚙️'
|
| 251 |
profile_emoji = '📈'
|
|
|
|
| 252 |
st.title('PantoScanner')
|
| 253 |
#st.subheader(f'Source Image')
|
| 254 |
|
|
@@ -259,6 +260,30 @@ 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:
|
|
|
|
| 249 |
image_emoji = '📷'
|
| 250 |
model_emoji = '⚙️'
|
| 251 |
profile_emoji = '📈'
|
| 252 |
+
st.set_page_config(layout='wide')
|
| 253 |
st.title('PantoScanner')
|
| 254 |
#st.subheader(f'Source Image')
|
| 255 |
|
|
|
|
| 260 |
|
| 261 |
st.image(st.session_state['current_image_array'])
|
| 262 |
|
| 263 |
+
st.markdown(
|
| 264 |
+
"""
|
| 265 |
+
<style>
|
| 266 |
+
div[data-testid="column"]:nth-of-type(1)
|
| 267 |
+
{
|
| 268 |
+
border:1px solid purple;
|
| 269 |
+
text-align: start;
|
| 270 |
+
}
|
| 271 |
+
|
| 272 |
+
div[data-testid="column"]:nth-of-type(2)
|
| 273 |
+
{
|
| 274 |
+
border:1px solid green;
|
| 275 |
+
text-align: center;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
div[data-testid="column"]:nth-of-type(3)
|
| 279 |
+
{
|
| 280 |
+
border:1px solid purple;
|
| 281 |
+
text-align: end;
|
| 282 |
+
}
|
| 283 |
+
</style>
|
| 284 |
+
""",unsafe_allow_html=True
|
| 285 |
+
)
|
| 286 |
+
|
| 287 |
col1, col2, col3 = st.columns(3)
|
| 288 |
# insert prev button --> decrement image_selected_index i = min(i -= 1, 0) % or just overflow to last image
|
| 289 |
with col1:
|