abdulsamod commited on
Commit
1a83027
1 Parent(s): 55658d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -11,7 +11,6 @@ def crop_yield(Planted,Size_of_land, Bags, Soil_Type, Type_of_Seed, Color_of_See
11
  prediction = model_.predict([[Planted,Size_of_land, Bags, Soil_Type, Type_of_Seed,Color_of_Seeds]])
12
  return prediction
13
 
14
- label1= "Soil Type\nInput: 0 for Loamy Soil and 1 for others"
15
 
16
  #create input and output objects
17
  #input object1
@@ -21,7 +20,7 @@ input2 = gr.inputs.Number(label="Size of land (Hectare)")
21
  #input object3
22
  input3 = gr.inputs.Number(label="Number of Bags")
23
  #input object 3
24
- input4 = gr.inputs.Number(label=label1)
25
  #input object 3
26
  input5 = gr.inputs.Number(label="Type of Seed\nInput: 0 for White Seed and 1 for other")
27
  #input object 3
 
11
  prediction = model_.predict([[Planted,Size_of_land, Bags, Soil_Type, Type_of_Seed,Color_of_Seeds]])
12
  return prediction
13
 
 
14
 
15
  #create input and output objects
16
  #input object1
 
20
  #input object3
21
  input3 = gr.inputs.Number(label="Number of Bags")
22
  #input object 3
23
+ input4 = gr.inputs.Number(label="Soil Type\nInput: 0 for Loamy Soil and 1 for others")
24
  #input object 3
25
  input5 = gr.inputs.Number(label="Type of Seed\nInput: 0 for White Seed and 1 for other")
26
  #input object 3