Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,13 +6,13 @@ from deepface import DeepFace
|
|
| 6 |
#from google.colab import drive
|
| 7 |
#drive.mount('/content/drive')
|
| 8 |
#img1_path = '/content/drive/My Drive/Colab Notebooks/DeepLearning/FaceRecognition/PhotoDataSet/10Jan_1.jpeg'
|
| 9 |
-
import zipfile
|
| 10 |
-
with zipfile.ZipFile("PhotoDataSet.zip","r") as zip_ref:
|
| 11 |
-
zip_ref.extractall("db_path")
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
import pandas as pd
|
| 18 |
def get_deepface(image):
|
|
|
|
| 6 |
#from google.colab import drive
|
| 7 |
#drive.mount('/content/drive')
|
| 8 |
#img1_path = '/content/drive/My Drive/Colab Notebooks/DeepLearning/FaceRecognition/PhotoDataSet/10Jan_1.jpeg'
|
| 9 |
+
#import zipfile
|
| 10 |
+
#with zipfile.ZipFile("PhotoDataSet.zip","r") as zip_ref:
|
| 11 |
+
#zip_ref.extractall("db_path")
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
+
db_path='https://github.com/ipvikas/MyPhotos/'
|
| 16 |
|
| 17 |
import pandas as pd
|
| 18 |
def get_deepface(image):
|