Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
fix wrapper bug
Browse files
app.py
CHANGED
|
@@ -312,7 +312,7 @@ with gr.Blocks() as demo:
|
|
| 312 |
process_files_button = gr.Button("Separate files")
|
| 313 |
process_result = gr.Text("Click on 'Separate files' once you see the JSON file", label="Separated files:")
|
| 314 |
process_btn.click(batch_path_detection, inputs=[inp_path, bth_conf_fs], outputs=bth_out2)
|
| 315 |
-
process_files_button.click(wrap_bool_output(pw_utils.detection_folder_separation, inputs=[bth_out2, inp_path, out_path, bth_conf_fs], outputs=process_result)
|
| 316 |
with gr.Tab("Batch Image Process"):
|
| 317 |
with gr.Row():
|
| 318 |
with gr.Column():
|
|
|
|
| 312 |
process_files_button = gr.Button("Separate files")
|
| 313 |
process_result = gr.Text("Click on 'Separate files' once you see the JSON file", label="Separated files:")
|
| 314 |
process_btn.click(batch_path_detection, inputs=[inp_path, bth_conf_fs], outputs=bth_out2)
|
| 315 |
+
process_files_button.click(wrap_bool_output(pw_utils.detection_folder_separation), inputs=[bth_out2, inp_path, out_path, bth_conf_fs], outputs=process_result)
|
| 316 |
with gr.Tab("Batch Image Process"):
|
| 317 |
with gr.Row():
|
| 318 |
with gr.Column():
|