Spaces:
Sleeping
Sleeping
Update app.py
Browse files72 unmodified lines7374757677787980817677787980818283848572 unmodified lines # Badge badge = "🏆 Zero Waste Champion" if quantity > 50 else "⭐ Community Helper"
return { "recipient_name": f"✅ Recommended: {recipient['name']} ({recipient['type']})", "ai_reasoning": ai_reasoning, "map_html": map_html, "delivery_status": progress_output, "badge": badge return ( f"✅ Recommended: {recipient['name']} ({recipient['type']})", ai_reasoning, map_html, progress_output, badge ) }
# --- Gradio UI ---app.py+7-6