# from df.enhance import enhance, init_df, load_audio # def remove_noise_enhance(audio_bytes): # model_enhance, df_state, _ = init_df() # # save_audio("full_generation.wav", wav, 48000) # # Load default model # # Download and open some audio file. You use your audio files here # audio, sr = load_audio(audio_bytes,df_state.sr()) # # Denoise the audio # enhanced = enhance(model_enhance, df_state, audio) # return (df_state.sr(),np.flipud(enhanced))