ntam0001 commited on
Commit
8cc6c21
1 Parent(s): f76e97e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -27,9 +27,9 @@ def predict_price(total_sqft, bath, bhk, location):
27
 
28
  # Create the Gradio interface
29
  inputs = [
30
- gr.Number(label="Total Square Feet"),
31
- gr.Number(label="BHK [Bedroom, Hall, and Kitchen]"),
32
- gr.Number(label="Bath"),
33
  gr.Dropdown(choices=locations, label="Location")
34
  ]
35
 
 
27
 
28
  # Create the Gradio interface
29
  inputs = [
30
+ gr.Number(minimum=1,label="Total Square Feet"),
31
+ gr.Number(minimum=1,label="BHK [Bedroom, Hall, and Kitchen]"),
32
+ gr.Number(minimum=1,label="Bath"),
33
  gr.Dropdown(choices=locations, label="Location")
34
  ]
35