Spaces:
Runtime error
Runtime error
ParisNeo
commited on
Commit
·
79081e0
1
Parent(s):
1e0d7ea
upgraded
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ class UI():
|
|
85 |
self.img = gr.Image(label="Input Image", source="webcam", streaming=True)
|
86 |
self.txtFace_name = gr.Textbox(label="face_name")
|
87 |
self.txtFace_name.change(self.set_face_name, inputs=self.txtFace_name, show_progress=False)
|
88 |
-
self.status = gr.Label(label="
|
89 |
self.img.change(self.record, inputs=self.img, outputs=self.status, show_progress=False)
|
90 |
with gr.Column():
|
91 |
self.btn_start = gr.Button("Start Recording face")
|
@@ -101,7 +101,7 @@ class UI():
|
|
101 |
self.add_file.change(self.add_files, self.add_file, self.gallery)
|
102 |
self.txtFace_name2 = gr.Textbox(label="face_name")
|
103 |
self.txtFace_name2.change(self.set_face_name, inputs=self.txtFace_name2, show_progress=False)
|
104 |
-
self.status = gr.Label(label="
|
105 |
self.img.change(self.record, inputs=self.img, outputs=self.status, show_progress=False)
|
106 |
with gr.Column():
|
107 |
self.btn_start = gr.Button("Build face embeddings")
|
|
|
85 |
self.img = gr.Image(label="Input Image", source="webcam", streaming=True)
|
86 |
self.txtFace_name = gr.Textbox(label="face_name")
|
87 |
self.txtFace_name.change(self.set_face_name, inputs=self.txtFace_name, show_progress=False)
|
88 |
+
self.status = gr.Label(label="Status")
|
89 |
self.img.change(self.record, inputs=self.img, outputs=self.status, show_progress=False)
|
90 |
with gr.Column():
|
91 |
self.btn_start = gr.Button("Start Recording face")
|
|
|
101 |
self.add_file.change(self.add_files, self.add_file, self.gallery)
|
102 |
self.txtFace_name2 = gr.Textbox(label="face_name")
|
103 |
self.txtFace_name2.change(self.set_face_name, inputs=self.txtFace_name2, show_progress=False)
|
104 |
+
self.status = gr.Label(label="Status")
|
105 |
self.img.change(self.record, inputs=self.img, outputs=self.status, show_progress=False)
|
106 |
with gr.Column():
|
107 |
self.btn_start = gr.Button("Build face embeddings")
|