Libya is making an urgent appeal to the U.N. Security Council to either lift an arms embargo completely or allow exemptions so that its army can fight the rising threat of the Islamic State group and other militant groups.

The appeal Wednesday came a day before talks between the country's rival factions resume in Morocco. A U.N. envoy says the dialogue will continue next week with meetings in Algeria and Brussels.

Libya is deeply divided between two rival governments, one that is Western-backed and another that is backed by Islamist groups.

Some council members say Libya should have a national unity government before the chaotic country gets more weapons.

Libya's ambassador says his people feel the international community has failed them and says they can't fight without arms.