NangTherr commited on
Commit
b4b07fe
·
verified ·
1 Parent(s): 978d8c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def predict(soil_moisture, temperature, air_humidity, light_intensity):
15
  prediction = model.predict(std_data)
16
  return int(prediction[0]) # Convert prediction to int (0 or 1)
17
 
18
- # Set up Gradio interface
19
  iface = gr.Interface(
20
  fn=predict,
21
  inputs=[
 
15
  prediction = model.predict(std_data)
16
  return int(prediction[0]) # Convert prediction to int (0 or 1)
17
 
18
+ # Set up Gradio interfacea
19
  iface = gr.Interface(
20
  fn=predict,
21
  inputs=[