SSO-VO2max-calc / app.py
bjornsing's picture
add title
d344f29
raw
history blame
340 Bytes
import gradio as gr
title = "VO2max calculator"
def greet(vekt, høyde, midje, alder, kjønn):
vo2 = vekt*høyde*midje*alder*kjønn
return vo2
demo = gr.Interface(
fn=greet,
title=title,
inputs=["number", "number", "number", "number", "number"],
outputs=["number"],
)
if __name__ == "__main__":
demo.launch()