From cffa739d75748859b9e748c4da0e39b1693f00ba Mon Sep 17 00:00:00 2001 From: igivis7 Date: Mon, 19 Dec 2022 16:18:41 +0100 Subject: [PATCH] at_tf.function is commented --- streamlit_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index 98e6c93..eed9cc0 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -398,7 +398,7 @@ def split_audio_to_uChunks(audio_data): ## ==== Functions to make spectrograms ==== ## ---------------------------------------- -@tf.function +# @tf.function def get_uChunk_spectrogram( waveform, sampling_rate, file_path, uChunk_index ): waveform_1d_shape = tf.shape(waveform) n_samples = waveform_1d_shape[0] @@ -429,7 +429,7 @@ def get_uChunk_spectrogram( waveform, sampling_rate, file_path, uChunk_index ): uChunk_spectrogram_shape_to_analyze = (64*2*1, 64*1*1) -@tf.function +# @tf.function def uChunk_spectrogram_resize(spectrogram, file_path, uChunk_index): return tf.image.resize(spectrogram, uChunk_spectrogram_shape_to_analyze), file_path, uChunk_index