At cathode: Silver ions have lower discharge potential than hydrogen ions. Hence, silver ions will be deposited in preference to hydrogen ions.
At anode: Hydroxide ions having lower discharge potential will be discharged in preference to nitrate ions. Hydroxide ions will decompose to give oxygen.
The reaction can be written as