import gradio as gr import sys import os # Add the dist directory to Python path to import obfuscated modules sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'dist')) try: # Import from obfuscated modules from ui import create_interface except ImportError as e: print("Make sure you have run the obfuscation script first.") sys.exit(1) if __name__ == "__main__": demo = create_interface() demo.launch( share=False, show_error=False, show_api=False, server_name="0.0.0.0", server_port=7860 )