Spaces:
Runtime error
Runtime error
Update app.py
Browse files39 unmodified lines4041424344434445464739 unmodified lines result_str = f"Predicted Class: {class_name}\nProbability: {probability}%\nModel: {model_name}" history.append(result_str) return class_name, probability, history result_str.append(result_str) return class_name, probability, result_str except Exception as e: error_message = f"Error: {str(e)}"app.py+2-2