Om Prakash Singh commited on
Commit
decf0a9
1 Parent(s): 5d2e65e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,4 +1,3 @@
1
- from tensorflow.keras.models import load_model
2
  try:
3
  import tensorflow as tf
4
  print("TensorFlow version:", tf.__version__)
@@ -19,6 +18,7 @@ except ImportError:
19
  print("Installation failed. Please install TensorFlow manually.")
20
  import gradio as gr
21
  import numpy as np
 
22
 
23
  loaded_model = load_model("gender_classifier_model.h5")
24
 
 
 
1
  try:
2
  import tensorflow as tf
3
  print("TensorFlow version:", tf.__version__)
 
18
  print("Installation failed. Please install TensorFlow manually.")
19
  import gradio as gr
20
  import numpy as np
21
+ from tensorflow.keras.models import load_model
22
 
23
  loaded_model = load_model("gender_classifier_model.h5")
24