Upload 5 files
Browse files
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
|
| 12 |
-
return response
|
| 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(
|