--- title: Meal Prep emoji: ⚡ colorFrom: gray colorTo: pink sdk: gradio sdk_version: 6.17.3 python_version: '3.13' app_file: app.py pinned: false license: mit suggested_hardware: cpu-basic short_description: 'AI application to curate recipes ' models: - Kaikaku/epicure-core --- Select ingredients and generate a recipe. Epicure Core[^1] suggests optional fallback ingredients internally; OpenAI writes the recipe by default. **Recipe generation:** OpenAI (`gpt-4o-mini`) by default. Set `RECIPE_BACKEND=local` for on-device [Qwen2.5-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-3B-Instruct). | Backend | Secret / env | |---------|----------------| | `openai` (default) | `OPENAI_API_KEY` | | `local` | `RECIPE_BACKEND=local`, optional `RECIPE_DEVICE` (`auto`, `cpu`, `cuda`, `mps`) | Optional: `RECIPE_MODEL` (default `gpt-4o-mini` for OpenAI, `Qwen/Qwen2.5-3B-Instruct` for local). ## References [^1]: Radzikowski & Chen (2026). *Epicure: Navigating the Emergent Geometry of Food Ingredient Embeddings*. [arXiv:2605.22391](https://arxiv.org/abs/2605.22391). Model: [Kaikaku/epicure-core](https://huggingface.co/Kaikaku/epicure-core). Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference