Update disease-detection.ipynb

parent 46b9166f
...@@ -417,10 +417,6 @@ ...@@ -417,10 +417,6 @@
"live_data_node = 'live_image'\n", "live_data_node = 'live_image'\n",
"node = 'diseases_history'\n", "node = 'diseases_history'\n",
"model = tf.keras.models.load_model('models/disease-detection.h5')\n", "model = tf.keras.models.load_model('models/disease-detection.h5')\n",
"cred = credentials.Certificate(\"files/mangoblossom-4e230-firebase-adminsdk-h0sa7-99815cd936.json\")\n",
"default_app = firebase_admin.initialize_app(cred, {\n",
" 'databaseURL':'https://mangoblossom-4e230-default-rtdb.firebaseio.com/'\n",
" })\n",
"class_dict = {0: 'Anthracnose', 1: 'Bacterial Canker', 2: 'Cutting Weevil', 3: 'Die Back', 4: 'Gall Midge', 5: 'Healthy', 6: 'Powdery Mildew', 7: 'Sooty Mould'}" "class_dict = {0: 'Anthracnose', 1: 'Bacterial Canker', 2: 'Cutting Weevil', 3: 'Die Back', 4: 'Gall Midge', 5: 'Healthy', 6: 'Powdery Mildew', 7: 'Sooty Mould'}"
] ]
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment