File size: 1,381 Bytes
6b79761
 
 
 
 
a8bb44d
 
6b79761
 
 
 
 
96f6720
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
title: HealthAI Chef
emoji: 🏢
colorFrom: indigo
colorTo: yellow
sdk: gradio
app_file: gradio_ui.py
pinned: false
license: mit
short_description: An agent which generates a new 💓health-ai💓 recipe for you!
---

# HealthAI Chef

An agent which generates a new 💓health-ai💓 recipe for you from just an image of a meal, based on your dietary restrictions and medical diagnoses! For example, you loved eating hamburgers before, but now you have high cholesterol and need to eat vegetarian. Upload your favorite burger photo and the chef agent will scan it using Llama 3 Vision, figure out the recipe for it, use Llama 3 Text to generate a new recipe based on your health needs, and use an image gen model to generate an appetizing picture of the new recipe for you. The agent will show you the old and new pictures and recipes side by side, and even explain what changes it made. Also, if you don't have a meal photo handy, you can use the agent's internet search feature to find one, thanks to Llama's tool calling support.

## Tech Stack

The agent is built in Python 3.12 using the following technologies:

- Llama 3.3 70B Text Instruct hosted on SambaNova
- Llama 3.2 11B Vision Instruct hosted on SambaNova
- Black Forest Labs Flux Schnell Image Gen hosted on Nebius
- LangChain
- LangGraph
- Gradio
- DuckDuckGo Search
- Jinja

_Note: these are all open-source._