A newer version of the Gradio SDK is available:
5.43.1
metadata
title: Party Planner - Guest Table Arranger
emoji: π
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.34.2
app_file: app.py
pinned: false
π Party Planner - Guest Table Arranger
A smart web application that helps you organize your guest list into optimal table arrangements for networking events and parties. Built with Gradio and deployed on Hugging Face Spaces.
β¨ Features
- π Easy CSV Upload: Simply paste your CSV content or upload a file
- π§ Smart Table Arrangement: AI-powered algorithm that categorizes guests by industry/role
- π― Optimal Distribution: Automatically creates tables of 10 with balanced industry mix
- π Visual Results: Clear, formatted output showing table assignments
- π¨ Modern Interface: Beautiful, responsive Gradio interface
- π± Mobile Friendly: Works perfectly on all devices
π How to Use
Prepare Your CSV: Create a CSV file with exactly 2 columns:
- First column: Guest names
- Second column: Job titles, roles, or descriptions
Upload Your Data:
- Paste your CSV content directly into the text box, OR
- Upload your CSV file using the file upload button
Arrange Tables: Click the "π― Arrange Tables" button to see the smart arrangement
View Results: See your guests organized into optimal table seating with industry-balanced distribution
π CSV Format Example
name,message
John Smith,Software Engineer at TechCorp
Sarah Johnson,Marketing Director at Creative Agency
Michael Brown,CEO of StartupXYZ
Emily Davis,Data Scientist at AI Labs
David Wilson,Product Manager at Innovation Inc
π§ Smart Categorization
The app automatically categorizes guests based on their job descriptions:
- Tech: engineer, developer, programmer, software, tech, data, AI, ML, scientist
- Business: manager, director, CEO, founder, executive, strategy, operations, consultant
- Creative: designer, creative, marketing, content, writer, artist, media
- Sales: sales, account, client, business development, partnership
- Finance: finance, accounting, investment, banking, analyst, CFO
- Other: any roles not matching the above categories
π― Table Arrangement Algorithm
- Categorizes guests by industry/role type
- Distributes major categories evenly across tables
- Balances table sizes (maximum 10 guests per table)
- Creates unlimited tables as needed
- Ensures diverse networking opportunities
π Sample Output
π Successfully processed 25 guests!
π Created 3 table(s) with smart distribution:
π½οΈ **Table 1** (9 guests):
1. **John Smith** - Software Engineer at TechCorp
2. **Sarah Johnson** - Marketing Director at Creative Agency
3. **Michael Brown** - CEO of StartupXYZ
...
π½οΈ **Table 2** (8 guests):
1. **Emily Davis** - Data Scientist at AI Labs
2. **David Wilson** - Product Manager at Innovation Inc
...
π½οΈ **Table 3** (8 guests):
1. **Lisa Chen** - UX Designer at Design Studio
...
π **Table Statistics:**
Table 1: 9 guests
Table 2: 8 guests
Table 3: 8 guests
π οΈ Technical Details
- Framework: Gradio (Python)
- Algorithm: Smart categorization and distribution
- Deployment: Hugging Face Spaces
- Dependencies: gradio>=4.0.0
π¨ Features
- Drag & Drop: Easy file upload
- Real-time Processing: Instant table arrangement
- Error Handling: Clear error messages for invalid formats
- Sample Data: Built-in sample CSV for testing
- Responsive Design: Works on desktop and mobile
π§ Local Development
To run this locally:
pip install gradio
python app.py
π License
This project is for educational and personal use purposes.
Made with β€οΈ for better networking events!