Can we do labelling for YOLOv7

Can we export the data as .txt files which has label followed with its coordinates for each bounding box as we need for yolov7 model