Balaprime commited on
Commit
cfb9d4e
·
verified ·
1 Parent(s): 81bc520

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
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
- gr.Textbox(label="Generated SQL Query"),
168
- gr.Dataframe(label="Query Result")
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)