diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 139ccd9..e0c38fe 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -11,6 +11,9 @@ jobs: defaults: run: working-directory: backend + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + SERP_API_KEY: ${{ secrets.SERP_API_KEY }} steps: - uses: actions/checkout@v3 diff --git a/backend/app/core/ocr.py b/backend/app/core/ocr.py index 63f47fb..55dad96 100644 --- a/backend/app/core/ocr.py +++ b/backend/app/core/ocr.py @@ -232,7 +232,6 @@ def clean_menu_items(lines: list[str]) -> list[str]: current_dish = line dishes.append(current_dish) elif current_dish and i > 0: - # This might be a dish description, add to the current dish if current_dish in dish_descriptions: dish_descriptions[current_dish] += " " + line else: