Recurrent respiratory papillomatosis (RRP) is a chronic condition primarily affecting children, known as juvenile onset RRP (JORRP), caused by a viral infection. Antiviral medications have been used to reduce the need for frequent surgeries, slow the growth of papillomata, and prevent disease spread. Effective treatment of JORRP necessitates targeted drug delivery (TDD) to ensure that inhaled aerosolized drugs reach specific sites, such as the larynx and glottis, without harming healthy tissues. Using computational fluid particle dynamics (CFPD) and machine learning (ML), this study (1) investigated how drug properties and individual factors influence TDD efficiency for JORRP treatment and (2) developed personalized inhalation therapy using an ML-empowered smart inhaler control algorithm for precise medication release. This algorithm optimizes the inhaler nozzle position and diameter based on drug and patient-specific data, enhancing drug delivery to the larynx and glottis. CFPD simulations show that particle size significantly affects deposition fractions in the upper airway, emphasizing the importance of particle size selection. Additionally, optimal nozzle diameter and delivery efficiency depend on particle size, inhalation flow rate, and release time. The ML-based TDD strategy, employing a classification and regression tree model, outperforms conventional inhalation therapy by achieving a higher delivery efficiency to the larynx and glottis. This innovative concept of an ML-empowered smart inhaler represents a promising step toward personalized and precise pulmonary healthcare through inhalation therapy. It demonstrates the potential of AI-driven smart inhalers for improving the treatment outcomes of lung diseases that require TDD at designated lung sites.