jays009 commited on
Commit
47debd1
·
verified ·
1 Parent(s): ce20917

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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="Wheat Anomaly Detection",
61
- description="Upload an image of wheat to detect anomalies like disease or pest infestation."
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)