To avoid weld lines in injection molding, adjust the molding conditions such as temperature, injection speed, and pressure. Increasing these parameters when they're low can help minimize or eliminate weld lines.