Spaces:
Runtime error
Runtime error
Update app.py
Browse files123451 unmodified line78989101110111213141516pip install tensorflow
import tensorflow as tfimport numpy as npimport os1 unmodified lineimport gradio as gr
# Load the modelsinception_model_path = 'path/to/inception_model.h5'vggnet_model_path = 'path/to/vggnet_model.h5'resnet_model_path = 'path/to/resnet_model.h5'efficientnet_model_path = 'path/to/efficientnet_model.h5'inception_model_path = './inceptionv3_-saved-model-97-loss-0.00.hdf5'vggnet_model_path = './resnet50-saved-model-79-val_acc-1.00.hdf5'resnet_model_path = '.vgg_16_-saved-model-89-acc-0.93.hdf5'efficientnet_model_path = './efficientnet-saved-model-06-val_acc-0.98.hdf5'
# Load the modelsinception_model = tf.keras.models.load_model(inception_model_path)app.py+6-4