Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ from deepface import DeepFace
|
|
5 |
|
6 |
db_path='https://huggingface.co/spaces/ipvikas/ImageProcessing/commit/c65e002550d4c148da1bb94c114373b2272f4d88#d2h-994579/'
|
7 |
|
8 |
-
|
9 |
-
|
10 |
|
11 |
|
12 |
import pandas as pd
|
@@ -29,4 +29,4 @@ facial_attribute_demo = gr.Interface(
|
|
29 |
examples=[["10Jan_1.jpeg"]],
|
30 |
cache_examples=False)
|
31 |
|
32 |
-
facial_attribute_demo.launch()
|
|
|
5 |
|
6 |
db_path='https://huggingface.co/spaces/ipvikas/ImageProcessing/commit/c65e002550d4c148da1bb94c114373b2272f4d88#d2h-994579/'
|
7 |
|
8 |
+
from datasets import load_dataset
|
9 |
+
db_path= load_dataset("imagefolder", data_files=db_path)
|
10 |
|
11 |
|
12 |
import pandas as pd
|
|
|
29 |
examples=[["10Jan_1.jpeg"]],
|
30 |
cache_examples=False)
|
31 |
|
32 |
+
facial_attribute_demo.launch(share=True)
|