Using AI to avoid the next pandemic