How anay-alai/waste_reuse_assistant_lenonoleap_capstone works
This is a small Streamlit waste-reuse assistant. A user uploads an image and selects Analyze Waste; the app sends the image with a structured prompt to Gemini and displays its recommendations. The only source file is excerpted, so the calls and UI flow shown here are directly supported; no separate storage or processing subsystem is evident.
Main entry points: app.py Assistant app
Components 5
Streamlit interface
- Assistant app
app.py - Uploaded image
app.py
Waste analysis
- Gemini API
- Waste recommendations
app.py
Other components
- User
Connections 6
- User → Assistant app: uploads image
app.py - Assistant app → Uploaded image: opens image
app.py - Assistant app → Gemini API: sends prompt and image
app.py - Gemini API → Assistant app: returns analysis
app.py - Assistant app → Waste recommendations: displays results
app.py - Assistant app → User: shows results
app.py