Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
feder-cr committed Aug 15, 2024
1 parent d818a58 commit 554a9ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ log
test*
secrets.yaml
resume*
my*
my*
plain_text_resume.yaml
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from email import utils
import os
from pathlib import Path
import yaml
from src.manager_facade import FacadeManager
Expand All @@ -25,6 +26,10 @@ def validate_secrets(secrets_yaml_path: Path):
return secrets['openai_api_key']

def main():
folder = "log"
if not os.path.exists(folder):
os.makedirs(folder)

api_key = validate_secrets(Path("secrets.yaml"))
config = Config(
STRINGS_MODULE_RESUME_PATH=Path("resume_prompt/strings_feder-cr.py").resolve(),
Expand Down
Binary file modified requirements.txt
Binary file not shown.

0 comments on commit 554a9ac

Please sign in to comment.