Design a function in Python that computes the area of a triangle given its base length and height.
base_length = 8
def triangle_area(base_length, height):
    area = 0.5 * base_length * height
    return area