Spaces:
Running
Running
Update describepdf/config.py
Browse files- describepdf/config.py +5 -5
describepdf/config.py
CHANGED
@@ -15,11 +15,11 @@ logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - [%
|
|
15 |
logger = logging.getLogger('describepdf')
|
16 |
|
17 |
def _resolve_prompts_directory() -> pathlib.Path:
|
18 |
-
"""
|
19 |
-
Resolve the path to the prompts directory with multiple fallback strategies.
|
20 |
-
Returns:
|
21 |
-
|
22 |
-
"""
|
23 |
# List of potential paths to check
|
24 |
potential_paths = [
|
25 |
# Current file's parent directory
|
|
|
15 |
logger = logging.getLogger('describepdf')
|
16 |
|
17 |
def _resolve_prompts_directory() -> pathlib.Path:
|
18 |
+
"""
|
19 |
+
Resolve the path to the prompts directory with multiple fallback strategies.
|
20 |
+
Returns:
|
21 |
+
pathlib.Path: Path to the prompts directory
|
22 |
+
"""
|
23 |
# List of potential paths to check
|
24 |
potential_paths = [
|
25 |
# Current file's parent directory
|