Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,9 +23,10 @@ with gradio.Blocks() as demo:
|
|
23 |
gradio.Markdown("### <center> Håkon Hukkelås, Rudolf Mester, Frank Lindseth </center>")
|
24 |
gradio.Markdown("<center> See more information at: <a href='https://github.com/hukkelas/deep_privacy2'> https://github.com/hukkelas/deep_privacy2 </a> </center>")
|
25 |
gradio.Markdown("<center> For a demo of full-body anonymization, see: <a href='https://huggingface.co/spaces/haakohu/deep_privacy2'> https://huggingface.co/spaces/haakohu/deep_privacy2</a> </center>")
|
26 |
-
with gradio.Tab("
|
27 |
ExampleDemo(anonymizer_face)
|
28 |
-
with gradio.Tab("
|
29 |
-
|
|
|
30 |
|
31 |
demo.launch()
|
|
|
23 |
gradio.Markdown("### <center> Håkon Hukkelås, Rudolf Mester, Frank Lindseth </center>")
|
24 |
gradio.Markdown("<center> See more information at: <a href='https://github.com/hukkelas/deep_privacy2'> https://github.com/hukkelas/deep_privacy2 </a> </center>")
|
25 |
gradio.Markdown("<center> For a demo of full-body anonymization, see: <a href='https://huggingface.co/spaces/haakohu/deep_privacy2'> https://huggingface.co/spaces/haakohu/deep_privacy2</a> </center>")
|
26 |
+
with gradio.Tab("Webcam"):
|
27 |
ExampleDemo(anonymizer_face)
|
28 |
+
with gradio.Tab("File Upload"):
|
29 |
+
ExampleDemo(anonymizer_face, source=None)
|
30 |
+
|
31 |
|
32 |
demo.launch()
|