laverdes commited on
Commit
64da888
·
1 Parent(s): 1f662e3

fix: text in multiple lines caused error

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -24,9 +24,7 @@ with st.sidebar:
24
  ('Receipt Summary', 'Receipt Menu Details', 'Extract all!'))
25
  receipt = st.selectbox('Pick one receipt', ['1', '2', '3', '4', '5', '6'])
26
 
27
- st.text(f'{information} mode is ON!\n
28
- Target receipt: {receipt}\n
29
- (opening image @:./img/receipt-{receipt}.png)')
30
 
31
  image = Image.open(f"./img/receipt-{receipt}.png")
32
  st.image(image, caption='Your target receipt')
 
24
  ('Receipt Summary', 'Receipt Menu Details', 'Extract all!'))
25
  receipt = st.selectbox('Pick one receipt', ['1', '2', '3', '4', '5', '6'])
26
 
27
+ st.text(f'{information} mode is ON!\nTarget receipt: {receipt}\n(opening image @:./img/receipt-{receipt}.png)')
 
 
28
 
29
  image = Image.open(f"./img/receipt-{receipt}.png")
30
  st.image(image, caption='Your target receipt')