brjathu commited on
Commit
a106caa
·
1 Parent(s): 854d4da
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -155,7 +155,7 @@ with gr.Blocks(title="4DHumans", css=".gradio-container") as demo:
155
  with gr.Row():
156
  threshold = gr.Slider(0, 1.0, value=0.6, label='Detection Threshold')
157
  send_btn = gr.Button("Infer")
158
- send_btn.click(fn=infer, inputs=[input_image, threshold], outputs=[output_image])
159
 
160
  # gr.Examples([
161
  # ['assets/test1.png', 0.6],
@@ -181,7 +181,8 @@ with gr.Blocks(title="4DHumans", css=".gradio-container") as demo:
181
  ],
182
  )
183
 
184
-
 
185
  #demo.queue()
186
  demo.launch(debug=True)
187
 
 
155
  with gr.Row():
156
  threshold = gr.Slider(0, 1.0, value=0.6, label='Detection Threshold')
157
  send_btn = gr.Button("Infer")
158
+
159
 
160
  # gr.Examples([
161
  # ['assets/test1.png', 0.6],
 
181
  ],
182
  )
183
 
184
+ send_btn.click(fn=infer, inputs=[input_image, threshold], outputs=[output_image])
185
+
186
  #demo.queue()
187
  demo.launch(debug=True)
188