File size: 611 Bytes
aa664f7 50a29b7 295731f 50a29b7 aa664f7 50a29b7 295731f 50a29b7 295731f 50a29b7 aa664f7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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() |