Sanjayraju30 commited on
Commit
cdb355d
·
verified ·
1 Parent(s): 83cf236

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def process_image(img):
8
  return "No image uploaded", None, None
9
 
10
  ist_time = datetime.now(pytz.timezone("Asia/Kolkata")).strftime("%d-%m-%Y %I:%M:%S %p")
11
- weight, _ = extract_weight_from_image(img) # Ignore confidence in UI
12
  return weight, ist_time, img
13
 
14
  with gr.Blocks(title="⚖️ Auto Weight Logger") as demo:
 
8
  return "No image uploaded", None, None
9
 
10
  ist_time = datetime.now(pytz.timezone("Asia/Kolkata")).strftime("%d-%m-%Y %I:%M:%S %p")
11
+ weight, _ = extract_weight_from_image(img)
12
  return weight, ist_time, img
13
 
14
  with gr.Blocks(title="⚖️ Auto Weight Logger") as demo: