import gradio as gr def echo(text): return f"You typed: {text}" demo = gr.Interface( fn=echo, inputs=gr.Textbox(label="Input text"), outputs=gr.Textbox(label="Output"), title="🧠 MemorizationBarrier", description="Minimal Gradio app — the Space runs successfully!" ) if __name__ == "__main__": demo.launch()