panditamey commited on
Commit
8ca1104
1 Parent(s): e0a5ec3

Update appp.py

Browse files
Files changed (1) hide show
  1. appp.py +1 -1
appp.py CHANGED
@@ -25,7 +25,7 @@ app.config['CORS_HEADERS'] = 'Content-Type'
25
 
26
  crop_disease_ml=load_model('disease_new.h5')
27
 
28
- @app.route("/upload-image", methods=["POST"])
29
  @cross_origin()
30
  def upload_image():
31
  # if request.method == "POST":
 
25
 
26
  crop_disease_ml=load_model('disease_new.h5')
27
 
28
+ @app.route("/predict", methods=["POST"])
29
  @cross_origin()
30
  def upload_image():
31
  # if request.method == "POST":