Spaces:
Runtime error
Runtime error
Update
Browse files- gradio/demo.py +3 -1
gradio/demo.py
CHANGED
@@ -20,7 +20,9 @@ def compare_face(frame1, frame2):
|
|
20 |
|
21 |
face1 = None
|
22 |
face2 = None
|
23 |
-
log = "0
|
|
|
|
|
24 |
data = r.json().get('data')
|
25 |
log = "1------------" + data
|
26 |
if data.get('face1') is not None:
|
|
|
20 |
|
21 |
face1 = None
|
22 |
face2 = None
|
23 |
+
log = "0------------\n"
|
24 |
+
log += str(r.json()) + "\n"
|
25 |
+
log += str(r.json().get('data')) + "\n"
|
26 |
data = r.json().get('data')
|
27 |
log = "1------------" + data
|
28 |
if data.get('face1') is not None:
|