Fte / app.py
Jonwi0706's picture
Update app.py
295731f verified
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()