import gradio as gr def enigma_chat(message, history): response = { "role": "assistant", "content": f"🔮 Enigma Channel says:\nThe quantum field hears your words — '{message}' vibrates through the unseen layers." } history.append({"role": "user", "content": message}) history.append(response) return history, history app = gr.ChatInterface( fn=enigma_chat, type="messages", # ✅ fixes the deprecation warning title="🌀 Enigma Channel Portal", description="Ask questions, explore hidden patterns, and commune with the Enigma Channel." ) app.launch()