Spaces:
Runtime error
Runtime error
add gender class
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def greet(vekt, høyde, midje, alder, kjønn):
|
|
10 |
demo = gr.Interface(
|
11 |
fn=greet,
|
12 |
title=title,
|
13 |
-
inputs=["number", "number", "number", "number", gr.Radio(["
|
14 |
outputs=["number"],
|
15 |
)
|
16 |
if __name__ == "__main__":
|
|
|
10 |
demo = gr.Interface(
|
11 |
fn=greet,
|
12 |
title=title,
|
13 |
+
inputs=["number", "number", "number", "number", gr.Radio(["Mann", "Kvinne"], type="index")],
|
14 |
outputs=["number"],
|
15 |
)
|
16 |
if __name__ == "__main__":
|