Get down low, with torch and magnifying glass if necessary, and examine the carpet. Has it simply been flattened? In which case steam-cleaning will probably restore it beautifully. But if the fibres are actually worn down or missing, then there's not much you can do. Other than buy a pretty rug.