Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,11 +25,12 @@ def predict(image):
|
|
25 |
|
26 |
# Create a Gradio interface
|
27 |
interface = gr.Interface(
|
|
|
28 |
fn=predict, # The prediction function
|
29 |
inputs=gr.Image(type="pil"), # Input type (image as PIL object)
|
30 |
outputs="text", # Output type (text)
|
31 |
title="Plant Disease Classifier",
|
32 |
-
description="Upload an image of a plant leaf to identify its condition
|
33 |
)
|
34 |
|
35 |
# Launch the interface
|
|
|
25 |
|
26 |
# Create a Gradio interface
|
27 |
interface = gr.Interface(
|
28 |
+
theme="Subh775/orchid_candy",
|
29 |
fn=predict, # The prediction function
|
30 |
inputs=gr.Image(type="pil"), # Input type (image as PIL object)
|
31 |
outputs="text", # Output type (text)
|
32 |
title="Plant Disease Classifier",
|
33 |
+
description="Upload an image of a potato plant leaf to identify its condition (Early_blight, Late_blight, Healthy)"
|
34 |
)
|
35 |
|
36 |
# Launch the interface
|