Shunfeng Zheng
Deploy gradio 4.19.2 backend via Docker
00d9204
raw
history blame
240 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")
demo.launch(api_name="predict")