Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion backend/app/core/ocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down