bjornsing commited on
Commit
d344f29
1 Parent(s): 1a37fbf
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,12 +1,15 @@
1
  import gradio as gr
2
 
3
- def greet(vekt, hoyde, midje, noe, annet):
4
 
5
- vo2 = vekt*hoyde*midje*noe*annet
 
 
6
  return vo2
7
 
8
  demo = gr.Interface(
9
  fn=greet,
 
10
  inputs=["number", "number", "number", "number", "number"],
11
  outputs=["number"],
12
  )
 
1
  import gradio as gr
2
 
3
+ title = "VO2max calculator"
4
 
5
+ def greet(vekt, høyde, midje, alder, kjønn):
6
+
7
+ vo2 = vekt*høyde*midje*alder*kjønn
8
  return vo2
9
 
10
  demo = gr.Interface(
11
  fn=greet,
12
+ title=title,
13
  inputs=["number", "number", "number", "number", "number"],
14
  outputs=["number"],
15
  )