What is the meaning of うい?

sad, gloomy

fine (person), good, nice, splendid, admirable

Source: wiktionary.org