Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,6 @@ import matplotlib.pyplot as plt
|
|
| 4 |
import seaborn as sns
|
| 5 |
|
| 6 |
|
| 7 |
-
|
| 8 |
# Define the path for reading CSV file
|
| 9 |
DATA_FILE = 'expenses.csv'
|
| 10 |
|
|
@@ -42,8 +41,6 @@ if 'file_processed' not in st.session_state:
|
|
| 42 |
st.session_state['file_processed'] = False
|
| 43 |
|
| 44 |
|
| 45 |
-
|
| 46 |
-
|
| 47 |
# Front End Design
|
| 48 |
st.title("Expense Tracker")
|
| 49 |
|
|
@@ -51,7 +48,7 @@ st.title("Expense Tracker")
|
|
| 51 |
st.markdown("""
|
| 52 |
## Instructions
|
| 53 |
- Welcome! This is an app used to track your expenses.
|
| 54 |
-
- You can import data from a csv file for previous data
|
| 55 |
- There is a "Download Expenses as CSV" button. This is highly recommended, as the CSV will not be saved if the app sleeps or is restarted. You can import the data again afterwards.
|
| 56 |
- There is a "Visualise Data" button. This allows you to see graphs showing how you are spending your money.
|
| 57 |
""")
|
|
|
|
| 4 |
import seaborn as sns
|
| 5 |
|
| 6 |
|
|
|
|
| 7 |
# Define the path for reading CSV file
|
| 8 |
DATA_FILE = 'expenses.csv'
|
| 9 |
|
|
|
|
| 41 |
st.session_state['file_processed'] = False
|
| 42 |
|
| 43 |
|
|
|
|
|
|
|
| 44 |
# Front End Design
|
| 45 |
st.title("Expense Tracker")
|
| 46 |
|
|
|
|
| 48 |
st.markdown("""
|
| 49 |
## Instructions
|
| 50 |
- Welcome! This is an app used to track your expenses.
|
| 51 |
+
- You can import data from a csv file for previous data or add each expense separately through the form on this app.
|
| 52 |
- There is a "Download Expenses as CSV" button. This is highly recommended, as the CSV will not be saved if the app sleeps or is restarted. You can import the data again afterwards.
|
| 53 |
- There is a "Visualise Data" button. This allows you to see graphs showing how you are spending your money.
|
| 54 |
""")
|