Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,7 @@ import numpy as np
|
|
5 |
from tensorflow.keras.models import load_model
|
6 |
import tensorflow_addons as tfa
|
7 |
import os
|
8 |
-
|
9 |
-
#os.environ['TF_KERAS'] = '1'
|
10 |
-
#os.environ['TF_ENABLE_ONEDNN_OPTS']='0'
|
11 |
|
12 |
labels={'Subway': 0, 'Starbucks': 1,'McDonalds': 2,'Burger King': 3,'KFC': 4,'Other': 5}
|
13 |
HEIGHT,WIDTH=224,224
|
|
|
5 |
from tensorflow.keras.models import load_model
|
6 |
import tensorflow_addons as tfa
|
7 |
import os
|
8 |
+
from tensorflow.keras.layers import *
|
|
|
|
|
9 |
|
10 |
labels={'Subway': 0, 'Starbucks': 1,'McDonalds': 2,'Burger King': 3,'KFC': 4,'Other': 5}
|
11 |
HEIGHT,WIDTH=224,224
|