brjathu commited on
Commit
e5201da
1 Parent(s): 2e5f05f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -6
app.py CHANGED
@@ -145,14 +145,23 @@ with gr.Blocks(title="4DHumans", css=".gradio-container") as demo:
145
  send_btn = gr.Button("Infer")
146
  send_btn.click(fn=infer, inputs=[input_image, threshold], outputs=[output_image])
147
 
 
 
 
 
 
 
 
 
 
148
  gr.Examples([
149
- ['assets/test1.png', 0.6],
150
- ['assets/test2.jpg', 0.6],
151
- ['assets/test3.jpg', 0.6],
152
- ['assets/test4.jpg', 0.6],
153
- ['assets/test5.jpg', 0.6],
154
  ],
155
- inputs=[input_image, threshold])
156
 
157
  gr.HTML("""</ul>""")
158
 
 
145
  send_btn = gr.Button("Infer")
146
  send_btn.click(fn=infer, inputs=[input_image, threshold], outputs=[output_image])
147
 
148
+ # gr.Examples([
149
+ # ['assets/test1.png', 0.6],
150
+ # ['assets/test2.jpg', 0.6],
151
+ # ['assets/test3.jpg', 0.6],
152
+ # ['assets/test4.jpg', 0.6],
153
+ # ['assets/test5.jpg', 0.6],
154
+ # ],
155
+ # inputs=[input_image, threshold])
156
+
157
  gr.Examples([
158
+ ['assets/test1.png'],
159
+ ['assets/test2.jpg'],
160
+ ['assets/test3.jpg'],
161
+ ['assets/test4.jpg'],
162
+ ['assets/test5.jpg'],
163
  ],
164
+ inputs=[input_image, 0.6])
165
 
166
  gr.HTML("""</ul>""")
167