awacke1 commited on
Commit
3c1d725
·
1 Parent(s): 6f41800

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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) / 200
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):