ombhojane commited on
Commit
1bc4be8
·
verified ·
1 Parent(s): 718a03f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -1,14 +1,5 @@
1
  from unittest import result
2
  from tensorflow.keras.applications.vgg16 import preprocess_input
3
- from tensorflow.python.keras.utils.layer_utils import get_source_inputs
4
- from tensorflow.python.keras.layers import (
5
- Flatten, Dense, Input, GlobalAveragePooling2D,
6
- GlobalMaxPooling2D, Activation, Conv2D, MaxPooling2D,
7
- BatchNormalization, AveragePooling2D, Reshape, Permute, multiply
8
- )
9
- from tensorflow.python.keras.models import Model
10
- from tensorflow.python.keras import backend as K
11
- from tensorflow.python.keras.utils.data_utils import get_file
12
  from keras_vggface.vggface import VGGFace
13
  from src.utils.all_utils import read_yaml, create_dir
14
  import pickle
@@ -156,4 +147,4 @@ if uploaded_image is not None:
156
 
157
  with col2:
158
  st.markdown("Your look alike celelb")
159
- st.image(resized_actor_img)
 
1
  from unittest import result
2
  from tensorflow.keras.applications.vgg16 import preprocess_input
 
 
 
 
 
 
 
 
 
3
  from keras_vggface.vggface import VGGFace
4
  from src.utils.all_utils import read_yaml, create_dir
5
  import pickle
 
147
 
148
  with col2:
149
  st.markdown("Your look alike celelb")
150
+ st.image(resized_actor_img)