CoolFace
Apppublic

dpang/partySim

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

๐ŸŽ‰ 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

  1. 1.Prepare Your CSV: Create a CSV file with exactly 2 columns:
  2. 2.First column: Guest names
  3. 3.Second column: Job titles, roles, or descriptions
  1. 1.Upload Your Data:
  2. 2.Paste your CSV content directly into the text box, OR
  3. 3.Upload your CSV file using the file upload button
  1. 1.Arrange Tables: Click the "๐ŸŽฏ Arrange Tables" button to see the smart arrangement
  1. 1.View Results: See your guests organized into optimal table seating with industry-balanced distribution

๐Ÿ“„ CSV Format Example

csv
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

  1. 1.Categorizes guests by industry/role type
  2. 2.Distributes major categories evenly across tables
  3. 3.Balances table sizes (maximum 10 guests per table)
  4. 4.Creates unlimited tables as needed
  5. 5.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:

bash
pip install gradio
python app.py

๐Ÿ“ License

This project is for educational and personal use purposes.


Made with โค๏ธ for better networking events!