AITA for telling a friend that she should get off her ass and do her work

I have a huge report due tomorrow which is worth 60% my grade. I am taking this class where your entire grade is based on a report and a subsequent group presentation on that report. My group members and I had multiple meetings where we discussed how to go about certain aspects of the report, exchanged ideas and briefed each about our progress etc. My friend (A), however did not attend a single group meeting and when confronted she made excuses like, "Oh I just don't feel like it. I'm not in the mood." I went out of my way to brief her after every meeting and even gave her ideas and templates for her own part.

She only just completed her work yesterday and it was sloppy and irrelevant. She digressed from the topic and her work clearly reflected that there was no effort nor thought put into it. It was obvious that it was a last minute effort.

I tried to stay calm and told her to revise her work. It's important to me that I don't get a bad grade on this because I will end up losing my scholarship. I gave her pointers and even sent her a detailed message on everything her part should contain on Instagram. She however just left me on seen and did not respond to our calls. Meanwhile me and another group member started editing and revising her part in hopes of salvaging our report. (A) revised her part today (which was still bad) and then proceeds to tell me, "Is it up to your standards now, if you have any problem go fix it yourself." It pissed me off and I told her that that's EXACTLY what I have been doing; fixing her mistakes and doing her work for her. I also told her that she needs to get off her ass and actually work properly.

(A) has been sulking and telling our mutual friends that I am being a bitch and overreacted. My group members are siding with me but I feel bad that I may have overreacted and that I should have perhaps been more polite to my friend. So Am I the asshole?