Spaces:
Running
on
Zero
Running
on
Zero
sd
Browse files
app.py
CHANGED
@@ -3,9 +3,10 @@ import numpy as np
|
|
3 |
from PIL import Image
|
4 |
import gradio as gr
|
5 |
from deepface import DeepFace
|
|
|
6 |
|
7 |
-
#
|
8 |
-
|
9 |
|
10 |
# Cargar embeddings de todas las imágenes del dataset
|
11 |
def build_database():
|
|
|
3 |
from PIL import Image
|
4 |
import gradio as gr
|
5 |
from deepface import DeepFace
|
6 |
+
from datasets import load_dataset
|
7 |
|
8 |
+
# Cargamos el dataset sin aplicar formato especial
|
9 |
+
dataset = load_dataset("Segizu/dataset_faces")
|
10 |
|
11 |
# Cargar embeddings de todas las imágenes del dataset
|
12 |
def build_database():
|