Update app.py
Browse files
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()
|