sandrocalzada commited on
Commit
1b9d9ae
1 Parent(s): a4ace20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -2,6 +2,16 @@ import gradio as gr
2
  import numpy as np
3
  import tensorflow as tf
4
  import cv2
 
 
 
 
 
 
 
 
 
 
5
 
6
  # Load your trained model
7
  #model = tf.keras.models.load_model('path_to_your_model.h5')
 
2
  import numpy as np
3
  import tensorflow as tf
4
  import cv2
5
+ import numpy as np
6
+ import os
7
+ import glob
8
+ import cv2
9
+ import matplotlib.pyplot as plt
10
+ import insightface
11
+ from insightface.app import FaceAnalysis
12
+ from insightface.data import get_image as ins_get_image
13
+
14
+
15
 
16
  # Load your trained model
17
  #model = tf.keras.models.load_model('path_to_your_model.h5')