The judge will determine what additional measure to impose for failure to do community service.  Your wife could be cited for contempt of court.  The judge could increase the amount of community service and/or impose a fine.  Since she is pregnant, it is unlikely that she will be sentenced to jail.