Spaces:
Runtime error
Runtime error
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() |