Extract generation profile config policy
This commit is contained in:
@@ -3,18 +3,22 @@ from __future__ import annotations
|
||||
import json
|
||||
|
||||
try:
|
||||
from .prompt_builder import (
|
||||
build_ethnicity_list_json,
|
||||
build_filter_config_json,
|
||||
from .generation_profile_config import (
|
||||
build_generation_profile_json,
|
||||
generation_profile_choices,
|
||||
)
|
||||
from .prompt_builder import (
|
||||
build_ethnicity_list_json,
|
||||
build_filter_config_json,
|
||||
)
|
||||
except ImportError: # Allows local smoke tests from the repository root.
|
||||
from generation_profile_config import (
|
||||
build_generation_profile_json,
|
||||
generation_profile_choices,
|
||||
)
|
||||
from prompt_builder import (
|
||||
build_ethnicity_list_json,
|
||||
build_filter_config_json,
|
||||
build_generation_profile_json,
|
||||
generation_profile_choices,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user