Spaces:
Runtime error
Runtime error
fix: default index is int in select_box
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ with st.sidebar:
|
|
| 22 |
information = st.radio(
|
| 23 |
"What information inside the are you interested in?",
|
| 24 |
('Receipt Summary', 'Receipt Menu Details', 'Extract all!'))
|
| 25 |
-
receipt = st.selectbox('Pick one receipt', ['1', '2', '3', '4', '5', '6'], index=
|
| 26 |
|
| 27 |
st.text(f'{information} mode is ON!\nTarget receipt: {receipt}\n(opening image @:./img/receipt-{receipt}.png)')
|
| 28 |
|
|
|
|
| 22 |
information = st.radio(
|
| 23 |
"What information inside the are you interested in?",
|
| 24 |
('Receipt Summary', 'Receipt Menu Details', 'Extract all!'))
|
| 25 |
+
receipt = st.selectbox('Pick one receipt', ['1', '2', '3', '4', '5', '6'], index=5)
|
| 26 |
|
| 27 |
st.text(f'{information} mode is ON!\nTarget receipt: {receipt}\n(opening image @:./img/receipt-{receipt}.png)')
|
| 28 |
|