Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,9 +57,9 @@ iface = gr.Interface(
|
|
57 |
inputs=gr.Image(type="pil"), # Image input
|
58 |
outputs=gr.Textbox(), # Output: Predicted class
|
59 |
live=True, # Updates as the user uploads an image
|
60 |
-
title="
|
61 |
-
description="Upload an image of
|
62 |
)
|
63 |
|
64 |
# Launch the Gradio interface
|
65 |
-
iface.launch()
|
|
|
57 |
inputs=gr.Image(type="pil"), # Image input
|
58 |
outputs=gr.Textbox(), # Output: Predicted class
|
59 |
live=True, # Updates as the user uploads an image
|
60 |
+
title="maize Anomaly Detection",
|
61 |
+
description="Upload an image of maize to detect anomalies like disease or pest infestation."
|
62 |
)
|
63 |
|
64 |
# Launch the Gradio interface
|
65 |
+
iface.launch(server_name="0.0.0.0", server_port=7860, enable_api=True)
|