Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = " "
|