The characteristic that sets historical fiction apart from fact-based historical texts is:
Historical fiction includes made-up characters.
While both genres can include facts, historical fiction often employs fictional characters and narratives to explore historical events, whereas fact-based historical texts focus primarily on real events, people, and factual accuracy.