{% if result_ready %}

Predicted Binding Affinity (pKd)

{{ affinity }}
💊 Drug-Likeness (Lipinski's Rule of 5) {{ lipinski.status_text }}
Mass (MW) LogP H-Donors H-Acceptors TPSA
{{ lipinski.MW }} {{ lipinski.LogP }} {{ lipinski.HBD }} {{ lipinski.HBA }} {{ lipinski.TPSA }} Ų
{% if lipinski.violations > 0 %}
⚠️ Violations: {{ lipinski.bad_params }}
{% endif %}
Gemini Analysis
{{ ai_explanation | safe }}
{% else %}

🧬 Ready to Analyze

Enter SMILES and Protein sequence on the left to start.

{% endif %}