Text this: Enhancing Fabric Defect Detection With Attention Mechanisms and Optimized YOLOv8 Framework