The first ratio on the right hand side is the prior odds, which is usually assumed to be equal to one (equal prior for each model). The second ratio on the right hand side is the likelihood ratio or strength of evidence favoring one model over the other, and it is called the Bayes factor.
Once again a complication arises because the probability of each model given the data must be computed by averaging over all of the model parameters