I wouldn’t recommend keeping the Cory in a 10 gallon, they do good in groups so you would need multiple and articles suggest that 20 gallons is good for a group of them. However you can keep probably up to 9 guppies in a 10 gallon. I would try to stick to more around 6-8 of them to prevent the tank from being overstocked.