Update app.py
Browse files
app.py
CHANGED
|
@@ -163,12 +163,11 @@ desc = """Ask a natural language question about students, employees, or courses.
|
|
| 163 |
demo = gr.Interface(
|
| 164 |
fn=response,
|
| 165 |
inputs=gr.Textbox(label="Your Question"),
|
| 166 |
-
outputs=
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
],
|
| 170 |
-
title="Natural Language to SQL + Re sult",
|
| 171 |
-
description=desc
|
| 172 |
)
|
| 173 |
|
|
|
|
|
|
|
| 174 |
demo.launch(share=True)
|
|
|
|
| 163 |
demo = gr.Interface(
|
| 164 |
fn=response,
|
| 165 |
inputs=gr.Textbox(label="Your Question"),
|
| 166 |
+
outputs=gr.Textbox(label="SQL + Result"),
|
| 167 |
+
title="Natural Language to SQL + Result",
|
| 168 |
+
description="Ask a natural language question about students, employees, or courses. I'll generate and run a SQL query for you."
|
|
|
|
|
|
|
|
|
|
| 169 |
)
|
| 170 |
|
| 171 |
+
|
| 172 |
+
|
| 173 |
demo.launch(share=True)
|