Spaces:
Build error
Build error
bensonsantos
commited on
Commit
•
28213e5
1
Parent(s):
c494b78
Update app.py
Browse files
app.py
CHANGED
@@ -46,4 +46,4 @@ def crowd(img):
|
|
46 |
outputs = gr.outputs.Textbox(type="auto", label="Estimated crowd density:")
|
47 |
inputs = gr.inputs.Image(type="numpy", label="Input the image here:")
|
48 |
|
49 |
-
gr.Interface(fn=crowd, inputs=inputs, outputs=outputs, allow_flagging="never", examples=["IMG_5.jpg", "IMG_10.jpg"], title = "CANNet Crowd Counting Model", description = "CANNet crowd counting model by Lui, Salzmann, and Fua in their paper Context-Aware Crowd Counting publish in The IEEE Conference on Computer Vision and Pattern Recognition (CPVR) on June 2019. The GitHub repository for the PyTorch implementation can be found in https://github.com/weizheliu/Context-Aware-Crowd-Counting.").launch(inbrowser=True)
|
|
|
46 |
outputs = gr.outputs.Textbox(type="auto", label="Estimated crowd density:")
|
47 |
inputs = gr.inputs.Image(type="numpy", label="Input the image here:")
|
48 |
|
49 |
+
gr.Interface(fn=crowd, inputs=inputs, outputs=outputs, allow_flagging="never", examples=["IMG_5.jpg", "IMG_10.jpg"], title = "CANNet Crowd Counting Model", description = "CANNet crowd counting model by Lui, Salzmann, and Fua in their paper Context-Aware Crowd Counting publish in The IEEE Conference on Computer Vision and Pattern Recognition (CPVR) on June 2019. The GitHub repository for the PyTorch implementation can be found in https://github.com/weizheliu/Context-Aware-Crowd-Counting. Please input the image and click submit to use the model and know the estimated crowd count in the image.").launch(inbrowser=True)
|