Spaces:
Running
Running
File size: 472 Bytes
6de61f5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
"""
File: data_init.py
Author: Elena Ryumina and Dmitry Ryumin
Description: Data initialization.
License: MIT License
"""
from app.config import config_data
from app.utils import read_csv_file, extract_profession_weights
df_traits_priority_for_professions = read_csv_file(config_data.Links_PROFESSIONS)
weights_professions, interactive_professions = extract_profession_weights(
df_traits_priority_for_professions,
config_data.Settings_DROPDOWN_CANDIDATES[0],
)
|