Uday007 commited on
Commit
7628508
·
1 Parent(s): f0deeb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -17,12 +17,7 @@ def predict_bodymass(FlipperLength):
17
  iface = gr.Interface(
18
  fn=predict_bodymass,
19
  inputs=[
20
- gr.inputs.Number(
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"