Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
|
3 |
# Function to calculate calories burned during swimming based on swim style, now in pounds
|
4 |
def calories_swim(time_hr, weight_lb, style_mets):
|
5 |
-
return (time_hr * style_mets * 3.5 * weight_lb) /
|
6 |
|
7 |
# Function to calculate calories burned during pull-ups based on grip style
|
8 |
def calories_pullup(reps, weight, grip_style_factor):
|
|
|
2 |
|
3 |
# Function to calculate calories burned during swimming based on swim style, now in pounds
|
4 |
def calories_swim(time_hr, weight_lb, style_mets):
|
5 |
+
return (time_hr * style_mets * 3.5 * weight_lb) / 10
|
6 |
|
7 |
# Function to calculate calories burned during pull-ups based on grip style
|
8 |
def calories_pullup(reps, weight, grip_style_factor):
|