import gradio as gr def test_function(message): return f"✅ SUCCESS! HF Space is working. You said: {message}" # Create simple interface demo = gr.Interface( fn=test_function, inputs=gr.Textbox(label="Test Message", placeholder="Type anything to test..."), outputs=gr.Textbox(label="Response"), title="🧪 HF Space Test - Advanced GAIA Agent", description="Testing HF Space deployment. If you see this, the Space is working!" ) if __name__ == "__main__": demo.launch()