OCEANAI / app /event_handlers /practical_subtasks.py
ElenaRyumina's picture
v0.3.0 (#3)
d0f716d verified
raw
history blame
No virus
481 Bytes
"""
File: practical_subtasks.py
Author: Elena Ryumina and Dmitry Ryumin
Description: Event handler for Gradio app to filter practical subtasks based on selected practical subtasks.
License: MIT License
"""
# Importing necessary components for the Gradio app
def event_handler_practical_subtasks(
practical_tasks, practical_subtasks, practical_subtasks_selected
):
practical_subtasks_selected[practical_tasks] = practical_subtasks
return practical_subtasks_selected