#!/usr/bin/env python3 """ Quick demo of SafetyMaster Pro Gradio interface """ from gradio_interface import SafetyMasterGradio def main(): print("🚀 Starting SafetyMaster Pro - Gradio Demo") # Create the app app = SafetyMasterGradio() interface = app.create_interface() # Launch with demo settings print("🌐 Launching demo interface...") print("📱 Open your browser to: http://localhost:7860") print("🛑 Press Ctrl+C to stop") interface.launch( server_name="127.0.0.1", # Local only for demo server_port=7860, share=False, debug=True, show_error=True ) if __name__ == "__main__": main()