Shunfeng Zheng
Update app.py
63f26f8 verified
raw
history blame
265 Bytes
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", allow_flagging="never"
)
demo.launch(api_name="predict")