Update app.py
Browse files
app.py
CHANGED
@@ -19,10 +19,10 @@ def predict(soil_moisture, temperature, air_humidity, light_intensity):
|
|
19 |
iface = gr.Interface(
|
20 |
fn=predict,
|
21 |
inputs=[
|
22 |
-
gr.
|
23 |
-
gr.
|
24 |
-
gr.
|
25 |
-
gr.
|
26 |
],
|
27 |
outputs="text",
|
28 |
title="Plant Watering Prediction"
|
|
|
19 |
iface = gr.Interface(
|
20 |
fn=predict,
|
21 |
inputs=[
|
22 |
+
gr.Number(label="Soil Moisture"),
|
23 |
+
gr.Number(label="Temperature"),
|
24 |
+
gr.Number(label="Air Humidity"),
|
25 |
+
gr.Number(label="Light Intensity"),
|
26 |
],
|
27 |
outputs="text",
|
28 |
title="Plant Watering Prediction"
|