engralimalik commited on
Commit
7810eca
·
verified ·
1 Parent(s): 0974178

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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.Plotly(label="Category-wise Spending (Pie Chart)"),
57
- gr.Plotly(label="Monthly Spending Trends (Line Chart)"),
58
- gr.Plotly(label="Budget vs Actual Spending (Bar Chart)"),
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
- ).launch()
 
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