Giuliano commited on
Commit
50ff362
1 Parent(s): 0040736

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ title = "text2sql"
3
+ description = "text2sql"
4
+ examples = [
5
+ ["select all records from table team_data where team is Barcelona"]
6
+ ]
7
+ 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()