tzmartin commited on
Commit
7a1b15e
Β·
unverified Β·
1 Parent(s): 486c93b

fix($app): fix deprecated gradio methods

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ title = "Crowd Counter"
51
  description = "<p style='text-align: center'>This is a Gradio demo for crowd counting using Kornia's Face Detection model.</p><p style='text-align: center'>To use it, simply upload your image, or click one of the examples to load them</p>"
52
  article = """<p style='text-align: center'><a href='https://kornia.readthedocs.io/en/latest/' target='_blank'>Kornia Docs</a> | <a href='https://github.com/kornia/kornia' target='_blank'>Kornia Github Repo</a> | <a
53
  href='https://kornia.readthedocs.io/en/latest/applications/face_detection.html' target='_blank'>Kornia Face Detection Tutorial</a></p>"""
54
- outputs = [gr.outputs.Image(type="pil", label="Output Image"), gr.outputs.Textbox(label="Total (Head) Count")]
55
 
56
  examples = ['sample.jpeg']
57
 
 
51
  description = "<p style='text-align: center'>This is a Gradio demo for crowd counting using Kornia's Face Detection model.</p><p style='text-align: center'>To use it, simply upload your image, or click one of the examples to load them</p>"
52
  article = """<p style='text-align: center'><a href='https://kornia.readthedocs.io/en/latest/' target='_blank'>Kornia Docs</a> | <a href='https://github.com/kornia/kornia' target='_blank'>Kornia Github Repo</a> | <a
53
  href='https://kornia.readthedocs.io/en/latest/applications/face_detection.html' target='_blank'>Kornia Face Detection Tutorial</a></p>"""
54
+ outputs = [gr.Image(type="pil", label="Output Image"), gr.Textbox(label="Total (Head) Count")]
55
 
56
  examples = ['sample.jpeg']
57