Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -963,9 +963,10 @@ with gr.Blocks() as block:
|
|
963 |
|
964 |
# selection.select(fn=get_collection_names, outputs=[selection])
|
965 |
algo_event = algorithm.click(fn=import_client_data, inputs=[selection, zipfile, topical_map, password, project_bool, ai_bool], outputs=[upload, err_imgs])
|
966 |
-
bf_button.click(fn=bf_trigger.run_preprocess_ai, inputs=[bf_topical_map, bf_selection, section], outputs=[bf_upload])
|
967 |
offline_event = offline_button.click(fn=offline_update.run_preprocess_ai, inputs=[offline_topical_map, offline_selection], outputs=[offline_upload])
|
968 |
stop.click(fn=None, inputs=None, outputs=None, cancels=[algo_event])
|
|
|
969 |
upload_btn.upload(upload_file, upload_btn, zipfile)
|
970 |
# stop_offline.click(fn=None, inputs=None, outputs=None, cancels=[offline_event])
|
971 |
# login_to_zipfile_btn.click(
|
|
|
963 |
|
964 |
# selection.select(fn=get_collection_names, outputs=[selection])
|
965 |
algo_event = algorithm.click(fn=import_client_data, inputs=[selection, zipfile, topical_map, password, project_bool, ai_bool], outputs=[upload, err_imgs])
|
966 |
+
bf_event = bf_button.click(fn=bf_trigger.run_preprocess_ai, inputs=[bf_topical_map, bf_selection, section], outputs=[bf_upload])
|
967 |
offline_event = offline_button.click(fn=offline_update.run_preprocess_ai, inputs=[offline_topical_map, offline_selection], outputs=[offline_upload])
|
968 |
stop.click(fn=None, inputs=None, outputs=None, cancels=[algo_event])
|
969 |
+
stop_bf.click(fn=None, inputs=None, outputs=None, cancels[bf_event])
|
970 |
upload_btn.upload(upload_file, upload_btn, zipfile)
|
971 |
# stop_offline.click(fn=None, inputs=None, outputs=None, cancels=[offline_event])
|
972 |
# login_to_zipfile_btn.click(
|