|
|
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", |
|
|
title="๐ Enigma Channel Portal", |
|
|
description="Ask questions, explore hidden patterns, and commune with the Enigma Channel." |
|
|
) |
|
|
|
|
|
app.launch() |