haakohu commited on
Commit
332fcd7
1 Parent(s): c86b476

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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("Face Anonymization"):
27
  ExampleDemo(anonymizer_face)
28
- with gradio.Tab("Live Webcam"):
29
- WebcamDemo(anonymizer_face)
 
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()