| import gradio as gr | |
| title = "text2sql" | |
| description = "text2sql" | |
| examples = [ | |
| ["select all records from table team_data where team is Barcelona"] | |
| ] | |
| gr.Interface.load("huggingface/mrm8488/t5-small-finetuned-wikiSQL", inputs=gr.inputs.Textbox(lines=12, label="Input Text"),title=title,description=description, examples=examples,enable_queue=True).launch() |