Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,12 +17,7 @@ def predict_bodymass(FlipperLength):
|
|
17 |
iface = gr.Interface(
|
18 |
fn=predict_bodymass,
|
19 |
inputs=[
|
20 |
-
|
21 |
-
label="Flipper Length (mm)",
|
22 |
-
min_value=0,
|
23 |
-
max_value=500,
|
24 |
-
default=0
|
25 |
-
)
|
26 |
],
|
27 |
outputs=gr.outputs.Textbox(label="Body Mass"),
|
28 |
title="PENGUIN REGRESSION"
|
|
|
17 |
iface = gr.Interface(
|
18 |
fn=predict_bodymass,
|
19 |
inputs=[
|
20 |
+
gr.inputs.Textbox(placeholder="Enter Flipper Length(mm)",numeric=True,label="FLIPPER LENGTH")
|
|
|
|
|
|
|
|
|
|
|
21 |
],
|
22 |
outputs=gr.outputs.Textbox(label="Body Mass"),
|
23 |
title="PENGUIN REGRESSION"
|