Spaces:
Runtime error
Runtime error
Commit
·
3b27c45
1
Parent(s):
9154a27
update inputs
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def titanic(input_list):
|
|
37 |
|
38 |
inputs = []
|
39 |
for feature in featureLabels:
|
40 |
-
inputs.append(gr.inputs.Number(
|
41 |
|
42 |
demo = gr.Interface(
|
43 |
fn=titanic,
|
|
|
37 |
|
38 |
inputs = []
|
39 |
for feature in featureLabels:
|
40 |
+
inputs.append(gr.inputs.Number(default=1.0, label=feature))
|
41 |
|
42 |
demo = gr.Interface(
|
43 |
fn=titanic,
|