Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,4 +19,13 @@ examples=[["10Jan_1.jpeg"],["10Jan_2.jpeg"]]
|
|
19 |
facial_attribute_demo = gr.Interface(get_deepface_verify, inputs = ["image","image"],outputs="json",title=title,
|
20 |
description=description,enable_queue=True,examples=[["10Jan_1.jpeg"]],cache_examples=False)
|
21 |
|
|
|
|
|
|
|
|
|
|
|
22 |
facial_attribute_demo.launch(debug=True)
|
|
|
|
|
|
|
|
|
|
19 |
facial_attribute_demo = gr.Interface(get_deepface_verify, inputs = ["image","image"],outputs="json",title=title,
|
20 |
description=description,enable_queue=True,examples=[["10Jan_1.jpeg"]],cache_examples=False)
|
21 |
|
22 |
+
|
23 |
+
#########################3
|
24 |
+
from Deepface_analyze import facial_attribute_demo
|
25 |
+
|
26 |
+
|
27 |
facial_attribute_demo.launch(debug=True)
|
28 |
+
####################
|
29 |
+
demo = gr.TabbedInterface([facial_attribute_demo , facial_attribute_demo], ["Deepface-Verify","Deepface-analyze"])
|
30 |
+
if __name__ == "__main__":
|
31 |
+
demo.launch()
|