Download app.py from Giuliano/text2sql: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/spaces/Giuliano/text2sql/resolve/main/app.py
- Command line
-
hf download hf://spaces/Giuliano/text2sql/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Giuliano/text2sql/resolve/main/app.py
356 Bytes
| 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() |