mistermprah commited on
Commit
1da15ff
·
verified ·
1 Parent(s): 768f366

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -24,18 +24,18 @@ def predict_rainfall(Dew_Point, Pressure, Gust_Speed, RH, Wind_Direction,
24
 
25
  # Gradio Interface
26
  inputs = [
27
- gr.inputs.Number(label="Dew Point"),
28
- gr.inputs.Number(label="Pressure"),
29
- gr.inputs.Number(label="Gust Speed"),
30
- gr.inputs.Number(label="Relative Humidity"),
31
- gr.inputs.Number(label="Wind Direction"),
32
- gr.inputs.Number(label="Wind Speed"),
33
- gr.inputs.Number(label="Temperature"),
34
- gr.inputs.Number(label="Rained"),
35
- gr.inputs.Number(label="Water Content"),
36
- gr.inputs.Number(label="Solar Radiation")
37
  ]
38
- output = gr.outputs.Textbox(label="Prediction")
39
 
40
  gr.Interface(fn=predict_rainfall, inputs=inputs, outputs=output, title="Rainfall Prediction").launch()
41
 
 
24
 
25
  # Gradio Interface
26
  inputs = [
27
+ gr.Number(label="Dew Point"),
28
+ gr.Number(label="Pressure"),
29
+ gr.Number(label="Gust Speed"),
30
+ gr.Number(label="Relative Humidity"),
31
+ gr.Number(label="Wind Direction"),
32
+ gr.Number(label="Wind Speed"),
33
+ gr.Number(label="Temperature"),
34
+ gr.Number(label="Rained"),
35
+ gr.Number(label="Water Content"),
36
+ gr.Number(label="Solar Radiation")
37
  ]
38
+ output = gr.Textbox(label="Prediction")
39
 
40
  gr.Interface(fn=predict_rainfall, inputs=inputs, outputs=output, title="Rainfall Prediction").launch()
41