Spaces:
Runtime error
Runtime error
File size: 445 Bytes
8c0206d b277db8 8c0206d b277db8 8c0206d ef2919d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
"""
Minimal test to verify Gradio works on Spaces
This is the absolute simplest Gradio app possible
"""
import gradio as gr
# Create the simplest possible demo
demo = gr.Interface(
fn=lambda x: f"You said: {x}",
inputs="text",
outputs="text",
title="Test Demo",
description="If you see this, Gradio is working!"
)
print(f"Demo created: {type(demo)}")
print(f"Demo is valid: {isinstance(demo, (gr.Blocks, gr.Interface))}")
|