Washington (CNN) New York Democratic candidate Alexandria Ocasio-Cortez, who delivered a major upset in Tuesday's primary over incumbent Rep. Joe Crowley, declined on Wednesday to support House Minority Leader Nancy Pelosi for speaker if Democrats take back control of the House.

"I think it's far too early to make those kinds of commitments right now," Ocasio-Cortez told CNN's Poppy Harlow on "Newsroom," adding that Democrats "need to just focus on winning in November first and then we'll have the conversation about our leadership."

On Wednesday night, Ocasio-Cortez responded comments by Pelosi, who remarked that her win was just "one district."

"I think that we're in the middle of a movement in this country -- I feel this movement -- but that movement is going to happen from the bottom up. That movement is going to come from voters. There are a lot of really exciting races with extremely similar dynamics as mine. It's not just one district," Ocasio-Cortez said on CNN's "Erin Burnett OutFront."

The comments come amid speculation that many congressional Democrats would not back Pelosi to lead the party following a potential House takeover.

Read More