Spaces:
Runtime error
Runtime error
Update app.py
Browse files46 unmodified lines4748495051525346 unmodified linesreturn None, None, result_str# best_model = max(all_predictions, key=all_predictions.get)class_name = class_folders[np.argmax(models[best_model].predict(img)[0])]# probability = max(probability)# result_str = f"{best_model}: {class_name} {probability}%"46 unmodified lines4748495051525346 unmodified linesreturn None, None, result_str# best_model = max(all_predictions, key=all_predictions.get)# class_name = class_folders[np.argmax(models[best_model].predict(img)[0])]# probability = max(probability)# result_str = f"{best_model}: {class_name} {probability}%"
app.py+1-1