Update app.py
Browse files
app.py
CHANGED
@@ -59,9 +59,9 @@ iface = gr.Interface(
|
|
59 |
fn=text_to_sql,
|
60 |
#inputs=gr.inputs.Textbox(lines=7, label="User Question"),
|
61 |
#inputs=gr.inputs.Textbox(lines=7, label="User Question"),
|
62 |
-
inputs = ['
|
63 |
-
outputs=
|
64 |
title="Text to SQL Translator",
|
65 |
-
description="Translate text to SQL query based on the provided schema."
|
66 |
)
|
67 |
iface.launch()
|
|
|
59 |
fn=text_to_sql,
|
60 |
#inputs=gr.inputs.Textbox(lines=7, label="User Question"),
|
61 |
#inputs=gr.inputs.Textbox(lines=7, label="User Question"),
|
62 |
+
inputs = ['text'],
|
63 |
+
outputs=['text'],
|
64 |
title="Text to SQL Translator",
|
65 |
+
description="Translate text to SQL query based on the provided schema.CREATE TABLE table_17429402_7 (school VARCHAR, last_occ_championship VARCHAR)"
|
66 |
)
|
67 |
iface.launch()
|