panditamey commited on
Commit
0dd2821
1 Parent(s): 473663e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,14 +17,14 @@ from flask_cors import CORS, cross_origin
17
 
18
  app = Flask(__name__)
19
 
20
- id = "1ry4L9L1-kyc79F1MnYMemJ5P81Gr_mHP"
21
- output = "model_flowers_classification.h5"
22
  gdown.download(id=id, output=output, quiet=False)
23
 
24
  CORS(app)
25
  app.config['CORS_HEADERS'] = 'Content-Type'
26
 
27
- crop_disease_ml=load_model('model_flowers_classification.h5')
28
 
29
  @app.route("/upload-image", methods=["POST"])
30
  @cross_origin()
 
17
 
18
  app = Flask(__name__)
19
 
20
+ id = "1dPrnyH7y9ojSHaOOOTkbGkCnhwYvMxab"
21
+ output = "disease_new.h5"
22
  gdown.download(id=id, output=output, quiet=False)
23
 
24
  CORS(app)
25
  app.config['CORS_HEADERS'] = 'Content-Type'
26
 
27
+ crop_disease_ml=load_model('disease_new.h5')
28
 
29
  @app.route("/upload-image", methods=["POST"])
30
  @cross_origin()