src.pages.home.callbacks
Attributes
Functions
|
|
Scan the existing projects |
|
|
Initializes the project by generating clips, tables, queue, and embeddings. |
|
Generates audio clips for the project. |
|
Generates the initial vocabulary and annotations files for the project. |
|
Generates a queue of audio clips to be annotated. |
|
Generates embeddings for the audio clips in the project. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents
- src.pages.home.callbacks.logger
- src.pages.home.callbacks.update_selected_dataset(selected_dataset_name)
- src.pages.home.callbacks.scan_projects()
Scan the existing projects
- src.pages.home.callbacks.init_project(project_name, audio_path, clip_duration, embedding_model)
Initializes the project by generating clips, tables, queue, and embeddings.
- src.pages.home.callbacks.gen_clips(project_name, audio_path, clip_duration)
Generates audio clips for the project.
- src.pages.home.callbacks.gen_tables(project_name)
Generates the initial vocabulary and annotations files for the project.
- src.pages.home.callbacks.gen_queue(project_name, n=5)
Generates a queue of audio clips to be annotated.
- src.pages.home.callbacks.gen_embeddings(project_name, embedding_model)
Generates embeddings for the audio clips in the project.
- src.pages.home.callbacks.update_options_project(project_value, project_create, brand, project_name, path_audio, embedding_model, data)
- src.pages.home.callbacks.update_project_summary(dataset_name)
- src.pages.home.callbacks.check_create(v1, v2, v3)
- src.pages.home.callbacks.toggle_collapse(n1, n2, is_open)
- src.pages.home.callbacks.check_project_name(value)
- src.pages.home.callbacks.check_audio_path(value)
- src.pages.home.callbacks.check_embedding_model(value)