How do I filter audio with modified spectrogram?
Modify the spectrogram and then use scipy.signal.istft

scipy.signal.istft(Zxx, fs=1.0, window='hann', nperseg=None, noverlap=None, nfft=None, input_onesided=True, boundary=True, time_axis=-1, freq_axis=-2)
Perform the inverse Short Time Fourier transform (iSTFT).