This study revealed that LEP and DPEP could down-regulate the activity of NF-κB p65 by regulating MyD88-dependent signaling pathways of TLR4 and TLR7, thereby exerting their antiviral effects, and the treatment effects might be more significant in the early phase of infection. This evidence concerns the gene TLR7 and infection.