Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,9 +53,9 @@ def process_expenses(file):
|
|
| 53 |
inputs = gr.File(label="Upload Expense CSV")
|
| 54 |
outputs = [
|
| 55 |
gr.Dataframe(label="Categorized Expense Data"),
|
| 56 |
-
gr.
|
| 57 |
-
gr.
|
| 58 |
-
gr.
|
| 59 |
gr.Textbox(label="Savings Tips")
|
| 60 |
]
|
| 61 |
|
|
@@ -67,4 +67,4 @@ gr.Interface(
|
|
| 67 |
live=True,
|
| 68 |
title="Smart Expense Tracker",
|
| 69 |
description="Upload your CSV of transactions, categorize them, and view insights like spending trends and budget analysis."
|
| 70 |
-
).
|
|
|
|
| 53 |
inputs = gr.File(label="Upload Expense CSV")
|
| 54 |
outputs = [
|
| 55 |
gr.Dataframe(label="Categorized Expense Data"),
|
| 56 |
+
gr.Plot(label="Category-wise Spending (Pie Chart)"),
|
| 57 |
+
gr.Plot(label="Monthly Spending Trends (Line Chart)"),
|
| 58 |
+
gr.Plot(label="Budget vs Actual Spending (Bar Chart)"),
|
| 59 |
gr.Textbox(label="Savings Tips")
|
| 60 |
]
|
| 61 |
|
|
|
|
| 67 |
live=True,
|
| 68 |
title="Smart Expense Tracker",
|
| 69 |
description="Upload your CSV of transactions, categorize them, and view insights like spending trends and budget analysis."
|
| 70 |
+
).launc
|