🎬 Inspiration
In the film and television industry, production compliance is a high-stakes, paper-heavy bottleneck. Line producers, 1st ADs, and legal teams must cross-reference complex shooting scripts against strict union mandates (SAG-AFTRA, DGA) and municipal safety codes (firearms, stunt rigging, minor labor laws, animal welfare, and night exteriors). Missing a single permit or failing to mandate a required safety coordinator can result in massive financial liabilities, severe injuries, or production shutdowns.
We built Set-Safe to solve this exact problem: an intelligent automation engine that turns raw shooting scripts into structured legal safety binders, union permits, and department routing logs in seconds.
🚀 What It Does
Set-Safe streamlines pre-production logistics by transforming raw script text into an active, audit-ready compliance workflow:
- Automated Script Parsing: Scans incoming script text for structural scene headers and embedded safety tags (
[FIREARM],[STUNT],[MINOR], etc.). - Risk & Severity Categorization: Automatically prioritizes rules from Critical (e.g., licensed armorer affidavits) to Low (e.g., night exterior generator permits).
- Multi-Model Legal Synthesis: Generates pre-formatted compliance paperwork, legal permits, and action riders dynamically through our integrated AI pipelines.
- Targeted Department Routing: Specifies exact operational recipients for every safety rule (such as Licensed Armorers, Stunt Coordinators, Studio Teachers, and City Film Offices).
- One-Click Certified Binder Export: Allows production teams to instantly download the complete compliance report and legal binder as an organized Markdown (
.md) file.
🛠️ How We Built It
Set-Safe is architected as an enterprise-grade application with a robust Python backend and a cinematic, dark-mode user interface:
- Frontend & UI: Built using Streamlit to create a snappy, split-screen interactive workspace mimicking professional production dashboards.
- Core Logic & Parsing Engine: Custom Python modules that handle pattern matching, scene extraction, and rule dictionary cross-referencing.
- Advanced Multi-Model AI Integration: Features a fully functional execution mode toggle allowing seamless integration with Google Gemini for intelligent semantic script text inference and IBM Granite (watsonx.ai) for dynamic, formal legal affidavit drafting.
- Enterprise Resilience & Dual-Engine Architecture: Designed with a dual-engine capability—combining live cloud LLM workflows with a robust offline fallback rule system so safety paperwork can be generated reliably under any field condition, even with zero internet connectivity.
🧗♂️ Challenges We Faced
During development, we encountered and overcame several complex engineering hurdles:
- Module Pathing & Execution Architecture: Managing clean imports across custom backend parsing modules and the frontend dashboard caused initial path resolution bottlenecks. We overcame this by refactoring the codebase into a streamlined, unified execution model that guarantees zero import errors on launch.
- Offline-First Field Reliability: Film sets often lack reliable cellular or internet connectivity, making pure cloud-dependent architectures a liability. To solve this, we engineered a robust hybrid fallback layer that guarantees instant, local rule-matching and document generation even in remote, zero-connection environments.
🧠 What We Learned
Building Set-Safe gave us deep technical and domain-specific insights:
- The Nuances of Production Compliance: We learned how critical and complex entertainment legal workflows are—specifically how tightly intertwined safety mandates (like firearms and stunt coordination) are with union rules (SAG-AFTRA) and municipal laws.
- Designing for Offline Resilience: We realized that building tools for real-world field use (like film sets) means you can never rely solely on cloud connectivity. Designing a dual-engine architecture taught us how to seamlessly blend live cloud AI with local, robust fallback mechanics.
- State Management in Streamlit: We mastered structuring clean enterprise dashboards in Python, handling split-screen state layouts, dynamic session states, and generating instant downloadable markdown file reports on the fly.
🔮 What's Next for Set-Safe
While Set-Safe is fully operational as a robust MVP, we plan to scale its impact further:
- Cloud-Native Deployment: Expanding to a fully managed global cloud deployment for instant multi-user access across active studio lots.
- Direct Studio Software Integration: Building APIs to sync compliance binders directly into industry scheduling and budgeting software like Movie Magic Scheduling and EP.
- Automated PDF & Email Dispatch: Adding automated one-click PDF generation that instantly emails customized safety riders and permits directly to department heads and municipal film offices.
🏆 Accomplishments That We're Proud Of
- Successfully built and deployed an end-to-end working MVP that bridges enterprise entertainment compliance with modern multi-model generative AI.
- Crafted an immersive, industry-specific UI (
#121212charcoal aesthetic with hazard orange accent styling). - Delivered an active operational tool complete with exportable paperwork that saves production teams hours of manual administrative cross-referencing.
Built With
- automation
- git
- github
- google-gemini
- ibm-watson
- ibm-watsonx.ai
- natural-language-processing
- python
- streamlit
Log in or sign up for Devpost to join the conversation.