For the city in France:
* English: /neɪs/ (rhymes with "price")
* French: /nis/ (the "s" is silent)
For the adjective meaning pleasant:
* English: /naɪs/ (rhymes with "ice")
So, it's important to consider the context to know which pronunciation is intended.