abdulsamod commited on
Commit
e206f77
1 Parent(s): 3f054ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -19,11 +19,14 @@ input2 = gr.inputs.Number(label="Size of land (Hectare)")
19
  #input object3
20
  input3 = gr.inputs.Number(label="Number of Bags")
21
  #input object 3
22
- input4 = gr.inputs.Number(label="Soil Type\nInput: 0 for Loamy Soil and 1 for others")
 
23
  #input object 3
24
- input5 = gr.inputs.Number(label="Type of Seed\nInput: 0 for White Seed and 1 for other")
 
25
  #input object 3
26
- input6 = gr.inputs.Number(label="Color of Seeds\nInput: 0 for White Seed and 1 for Yellow Seed")
 
27
 
28
 
29
  #output object
@@ -33,4 +36,4 @@ output = gr.outputs.Textbox(label= "Number of Yields")
33
  gui = gr.Interface(fn=crop_yield,
34
  inputs=[input1, input2, input3, input4, input5, input6],
35
  outputs=output,
36
- description="Here's a simple webapp to calculate the number possible yeild.").launch()
 
19
  #input object3
20
  input3 = gr.inputs.Number(label="Number of Bags")
21
  #input object 3
22
+ input4 = gr.inputs.Number(label="Soil Type",
23
+ label= "Input: 0 for Loamy Soil and 1 for others")
24
  #input object 3
25
+ input5 = gr.inputs.Number(label="Type of Seed",
26
+ label= "Input: 0 for White Seed and 1 for other")
27
  #input object 3
28
+ input6 = gr.inputs.Number(label="Color of Seeds",
29
+ label= "Input: 0 for White Seed and 1 for Yellow Seed")
30
 
31
 
32
  #output object
 
36
  gui = gr.Interface(fn=crop_yield,
37
  inputs=[input1, input2, input3, input4, input5, input6],
38
  outputs=output,
39
+ description="Here's a simple webapp to calculate the number of possible yield.").launch()