Spaces:
Running
Running
Update app.py
Browse files
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)
|
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:
|