Spaces:
Runtime error
Runtime error
Update app.py
Browse files6 unmodified lines789101112131415166 unmodified lines# Define paths for the HDF5 modelsmodel_paths = {"InceptionV3": './Models_hdf5/inceptionv3.h5',"VGGNet": './Models_hdf5/vgg_16.h5',"ResNet": './Models_hdf5/resnet50.h5',"EfficientNet": './Models_hdf5/efficientnet.h5'}def classify_selected_model(image, model_name):6 unmodified lines789101112131415166 unmodified lines# Define paths for the HDF5 modelsmodel_paths = {"InceptionV3": './inceptionv3_-saved-model-59-val_accuracy-0.94.hdf5',"VGGNet": './vgg_16_-saved-model-89-acc-0.93.hdf5',"ResNet": './inceptionv3_-saved-model-59-val_accuracy-0.94.hdf5',"EfficientNet": './efficientnet-saved-model-06-val_acc-0.98.hdf5'}def classify_selected_model(image, model_name):
app.py+4-4