WASHINGTON (Reuters) - President Donald Trump, who excoriated General Motors Co on Friday and invoked emergency powers to compel the production of badly needed ventilators to tackle the coronavirus pandemic, has abruptly shifted gears to praise the automaker.

U.S. President Donald Trump listens during a meeting with supply chain distributors in the Cabinet Room of the White House in Washington, U.S., March 29, 2020. REUTERS/Al Drago

“General Motors is doing a fantastic job. I don’t think we need to worry about General Motors,” Trump said Sunday, speaking highly of the company in two appearances.

“They really seem to be working very, very hard. I think I’m getting very good reports about General Motors.”

Trump, who has been on the defensive for not moving faster to compel the production of medical equipment, invoked the Defense Production Act (DPA) for the first time on Friday, saying GM was wasting time in negotiations. GM had announced earlier on Friday, however, that it would begin quickly building ventilators.

On Sunday, GM vowed to move forward and released photos of its efforts to build ventilators at its Kokomo, Indiana plant.

GM’s manufacturing chief, Gerald Johnson, told Reuters the company aims to produce 10,000 ventilators a month by summer.

“No later than mid-April we expect to be up and running ventilators,” Johnson said, noting the ventilators will need U.S. regulatory approval, significant testing and that the company must train over 1,000 workers to assemble them.

GM has been working with ventilator firm Ventec Life Systems, numerous auto suppliers and other ventilator firms as officials warn the United States may need tens of thousands of additional ventilators.

“We’re unwavering in our focus to get this done,” Johnson said.

In any earlier tweet on Friday before GM’s announcement, Trump accused the automaker of wanting top dollar for its ventilators.

A GM spokesman said the company is doing the project “at cost” and will not make a profit.

Johnson said the automaker is spending tens of millions on retooling costs and that if supplier retooling costs are factored in, total retooling costs were in the hundreds of millions of dollars.

GM’s ventilator efforts first came to light on March 18 when White House economic adviser Larry Kudlow disclosed he had spoken to GM Chief Executive Mary Barra about the idea. Barra spoke to Kudlow again on Friday after Trump’s criticism, a person briefed on the matter said.

Tony Fratto, a former deputy press secretary under President George W. Bush, tweeted on Friday: “you have to think if GM HADN’T stepped up to TRY to make ventilators no one would be trying to force them to make them. No one’s banging on other random companies today.”

Other automakers have said they are working to produce ventilators, masks and other medical equipment. Ford Motor Co said Friday it was moving as fast as it could to gear up its ventilator manufacturing efforts. Toyota Motor Corp is working with “at least two companies that produce ventilators and respirators to help increase their capacity.”

GM will also begin producing surgical masks at a plant in Michigan this week and expects to produce 50,000 a day by mid-April.