Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,10 +22,7 @@ def predict_crop(N, P, K, temperature, humidity, pH, rainfall):
|
|
| 22 |
# Gradio UI components
|
| 23 |
def main_interface():
|
| 24 |
with gr.Blocks() as demo:
|
| 25 |
-
|
| 26 |
-
gr.Markdown(overview_text)
|
| 27 |
-
gr.Image("Images/image1.jpg", label="Healthy Crops")
|
| 28 |
-
gr.Image("Images/mod_comparison.png", label="Model Comparison")
|
| 29 |
|
| 30 |
with gr.Tab("Get Recommendation"):
|
| 31 |
gr.Markdown("Enter the details about your soil and environmental factors to get a crop recommendation.")
|
|
|
|
| 22 |
# Gradio UI components
|
| 23 |
def main_interface():
|
| 24 |
with gr.Blocks() as demo:
|
| 25 |
+
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
with gr.Tab("Get Recommendation"):
|
| 28 |
gr.Markdown("Enter the details about your soil and environmental factors to get a crop recommendation.")
|