ozzyable commited on
Commit
ef058d2
·
1 Parent(s): 8a3759d

fixed an issue in testing

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import streamlit as st
2
 
3
- transactions = st.text_area("Enter your transactions").split(',').strip()
 
4
  if st.button("Reset", type="primary"):
5
  st.write(f"transaction: {transactions}")
 
1
  import streamlit as st
2
 
3
+ transactions = st.text_area("Enter your transactions").split(',')
4
+ transactions = [i.strip() for i in transactions]
5
  if st.button("Reset", type="primary"):
6
  st.write(f"transaction: {transactions}")