File size: 501 Bytes
37cadfb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()