jays009 commited on
Commit
97f39b9
·
verified ·
1 Parent(s): 811ddcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -50,7 +50,6 @@ def load_model(model_path):
50
  model.load_state_dict(new_state_dict, strict=False)
51
  model.eval()
52
  return model
53
-
54
  except Exception as e:
55
  logging.error(f"Failed to load model: {e}")
56
  raise
@@ -104,7 +103,7 @@ demo = gr.Interface(
104
  fn=predict_from_image_url,
105
  inputs="text",
106
  outputs="json",
107
- title="Crop anomaly Classification",
108
  description="Enter a URL to an image for classification (Fall Army Worm, Phosphorus Deficiency, or Bacterial Leaf Blight).",
109
  )
110
 
 
50
  model.load_state_dict(new_state_dict, strict=False)
51
  model.eval()
52
  return model
 
53
  except Exception as e:
54
  logging.error(f"Failed to load model: {e}")
55
  raise
 
103
  fn=predict_from_image_url,
104
  inputs="text",
105
  outputs="json",
106
+ title="Maize Disease Classification",
107
  description="Enter a URL to an image for classification (Fall Army Worm, Phosphorus Deficiency, or Bacterial Leaf Blight).",
108
  )
109