Chit1324 commited on
Commit
5f1c81b
·
verified ·
1 Parent(s): bf18ee7

Upload 5 files

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ query_processor = QueryProcessor(db)
8
 
9
  def respond(message, history):
10
  """Processes user queries, fetches results from the database, and returns responses."""
11
- response ,sql_query = query_processor.process_query(message)
12
- return response ,sql_query
13
 
14
  # Gradio Chat UI
15
  demo = gr.ChatInterface(
 
8
 
9
  def respond(message, history):
10
  """Processes user queries, fetches results from the database, and returns responses."""
11
+ response = query_processor.process_query(message)
12
+ return response
13
 
14
  # Gradio Chat UI
15
  demo = gr.ChatInterface(