HashamUllah's picture
Update app.py
523d797 verified
raw
history blame
233 Bytes
import tensorflow as tf
# Load the existing model
model = tf.keras.models.load_model('./plant_disease_detection_saved_model')
# Save it in the SavedModel format
model.save('./plant_disease_detection_saved_model', save_format='tf')