Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,16 +6,9 @@ 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 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
!curl -O https://huggingface.co/spaces/ipvikas/ImageProcessing/blob/main/PhotoDataSet.zip
|
15 |
-
!unzip -q PhotoDataSet.zip
|
16 |
-
!ls
|
17 |
-
!ls db_path
|
18 |
-
import os
|
19 |
|
20 |
|
21 |
|
|
|
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 |
|