LOUISVILLE, Ky. (WDRB) -- The mom accused of passing out with her baby in the car Wednesday morning isn't allowed to have contact with her child.

Julia Hardin's bond was set at $1,000 Thursday morning.

Hardin's attorney explained that Child Protective Services has been to her parents' home where the child is staying. He says the 21-year-old would have to stay at her parents' home once she's out of jail -- or else she'd be homeless.

But the judge says Hardin cannot stay in the same home as the child.

"I'm not going to grant that today," the judge said. "I find that she is a danger to the child based on the allegations here."

The judge also ordered Hardin to not use any alcohol or drugs.

She doesn't have a criminal record.

Hardin was arrested Wednesday morning after police say she was found unconscious in a vehicle with her 11-month-old girl.

According to an arrest report, Louisville Metro Police were called to the 7000 block of Wildwood Circle, near the Wildwood County Club, after someone reported that a woman had been found passed out in a red Honda Civic.

When officers arrived, they allegedly found Hardin unconscious inside the vehicle, with the door open.

Police say her 11-month-old daughter was in the back seat crying. According to the arrest report, she was "soaking wet and appeared exhausted from crying." Police say a large piece of taffy was stuck inside the little girl's mouth.

When police woke her up, Hardin was "confused and not making logical sense."

Police say they found containers of alcohol inside the car.

Hardin was arrested and charged with first-degree wanton endangerment. She is currently being held in Louisville Metro Corrections.

Related:

Copyright 2018 by WDRB News. All rights reserved.