Spaces:
Runtime error
Runtime error
Update app.py
Browse files43 unmodified lines4445464748495043 unmodified linesresult_str = f" {model_name} : {class_name} {probability}% "history.append(result_str)return class_name, probability, history[-3:-1]except Exception as e:error_message = f"Error: {str(e)}"43 unmodified lines4445464748495043 unmodified linesresult_str = f" {model_name} : {class_name} {probability}% "history.append(result_str)return {class_names[i]: prediction[i] for i in range(6)}except Exception as e:error_message = f"Error: {str(e)}"
app.py+1-1