AyoAgbaje commited on
Commit
a80cb88
·
verified ·
1 Parent(s): d88af70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def run():
60
  model = pickle.load(file_)
61
  result = model.predict(df)
62
  file_.close()
63
- return f"Estimated Crop Yield based on Inputted Values is {result[0]}"
64
 
65
  title = "Simple Gradio Interface for Estimating/Predicting crop Yield"
66
  description = " "
 
60
  model = pickle.load(file_)
61
  result = model.predict(df)
62
  file_.close()
63
+ return f"Estimated Crop Yield based on Inputted Values is {abs(result[0])}"
64
 
65
  title = "Simple Gradio Interface for Estimating/Predicting crop Yield"
66
  description = " "