Spaces:
Runtime error
Runtime error
ParisNeo commited on
Commit ·
1e0d7ea
1
Parent(s): f827ad3
upgraded code
Browse files
app.py
CHANGED
|
@@ -216,6 +216,8 @@ class UI():
|
|
| 216 |
|
| 217 |
def record(self, image):
|
| 218 |
if self.face_name is None:
|
|
|
|
|
|
|
| 219 |
return "Please input a face name"
|
| 220 |
if self.is_recording and image is not None:
|
| 221 |
if self.i < self.nb_images:
|
|
|
|
| 216 |
|
| 217 |
def record(self, image):
|
| 218 |
if self.face_name is None:
|
| 219 |
+
self.embeddings_cloud=[]
|
| 220 |
+
self.is_recording=False
|
| 221 |
return "Please input a face name"
|
| 222 |
if self.is_recording and image is not None:
|
| 223 |
if self.i < self.nb_images:
|