Sarvamangalak commited on
Commit
5b6742c
·
verified ·
1 Parent(s): 469bbe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -166,7 +166,7 @@ def get_dashboard():
166
  conn
167
  )
168
 
169
- fig, axs = plt.subplots(2, 2, figsize=(12, 8))
170
 
171
  if df.empty:
172
 
@@ -397,7 +397,8 @@ def process_image(img):
397
  f"Discount : ₹{discount}\n\n"
398
  )
399
 
400
- # return image, output_text, ev_count, non_ev_count, discount_total
 
401
 
402
  return (
403
  image,
 
166
  conn
167
  )
168
 
169
+ fig, axs = plt.subplots(2, 2, figsize=(8, 6))
170
 
171
  if df.empty:
172
 
 
397
  f"Discount : ₹{discount}\n\n"
398
  )
399
 
400
+ conn.commit()
401
+ dashboard = get_dashboard()
402
 
403
  return (
404
  image,