Spaces:
Build error
Build error
Commit ·
4cb7b21
1
Parent(s): c6efeaf
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,4 +35,4 @@ def crowd(img):
|
|
| 35 |
outputs = gr.outputs.Textbox(type="auto", label="Estimated crowd density:")
|
| 36 |
inputs = gr.inputs.Image(type="numpy", label="Input the image here:")
|
| 37 |
|
| 38 |
-
gr.Interface(fn=crowd, inputs=inputs, outputs=outputs, allow_flagging="never", examples=["IMG_5.jpg", "IMG_10.jpg"],
|
|
|
|
| 35 |
outputs = gr.outputs.Textbox(type="auto", label="Estimated crowd density:")
|
| 36 |
inputs = gr.inputs.Image(type="numpy", label="Input the image here:")
|
| 37 |
|
| 38 |
+
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 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)
|