Spaces:
Runtime error
Runtime error
removed eager execution
Browse files
app.py
CHANGED
@@ -12,8 +12,6 @@ from tensorflow.keras.preprocessing.image import load_img, img_to_array
|
|
12 |
from tensorflow.keras.models import Sequential
|
13 |
from tensorflow.keras.layers import Dense, Dropout, Flatten, Conv2D, MaxPool2D, BatchNormalization, Input
|
14 |
|
15 |
-
tf.enable_eager_execution()
|
16 |
-
|
17 |
def get_waveform_label(file):
|
18 |
#lab = tf.strings.split(file, os.path.sep)[-2]
|
19 |
audio_binary = tf.io.read_file(file)
|
|
|
12 |
from tensorflow.keras.models import Sequential
|
13 |
from tensorflow.keras.layers import Dense, Dropout, Flatten, Conv2D, MaxPool2D, BatchNormalization, Input
|
14 |
|
|
|
|
|
15 |
def get_waveform_label(file):
|
16 |
#lab = tf.strings.split(file, os.path.sep)[-2]
|
17 |
audio_binary = tf.io.read_file(file)
|