Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ df = pd.DataFrame(columns=['Date', 'Category', 'Amount', 'Description'])
|
|
| 27 |
st.title("Expense Tracker")
|
| 28 |
|
| 29 |
with st.form("expense_form"):
|
| 30 |
-
amount = st.number_input("Amount", format
|
| 31 |
category = st.selectbox("Category", categories)
|
| 32 |
description = st.text_input("Description")
|
| 33 |
date = st.date_input("Date")
|
|
|
|
| 27 |
st.title("Expense Tracker")
|
| 28 |
|
| 29 |
with st.form("expense_form"):
|
| 30 |
+
amount = st.number_input("Amount", format="%0.2f")
|
| 31 |
category = st.selectbox("Category", categories)
|
| 32 |
description = st.text_input("Description")
|
| 33 |
date = st.date_input("Date")
|