Spaces:
Build error
Build error
| import gradio as gr | |
| print("Gradio version:", gr.__version__) | |
| def parse_spatial(text): | |
| return f"[Parsed Spatial Info] {text.upper()}" | |
| demo = gr.Interface(fn=parse_spatial, inputs="text", outputs="text") | |
| demo.launch(api_name="predict") | |