Update app.py
Browse files
app.py
CHANGED
@@ -720,7 +720,8 @@ def chat_function(message: str, history: List[Tuple[str, str]], num_results: int
|
|
720 |
if query_type == "knowledge_base":
|
721 |
response = generate_ai_response(message, chat_history, client, model)
|
722 |
else: # web_search
|
723 |
-
|
|
|
724 |
response = search_and_scrape(
|
725 |
query=message,
|
726 |
chat_history=chat_history,
|
|
|
720 |
if query_type == "knowledge_base":
|
721 |
response = generate_ai_response(message, chat_history, client, model)
|
722 |
else: # web_search
|
723 |
+
gr.Info("Searching the web for up-to-date information...")
|
724 |
+
yield "Searching the web for up-to-date information..."
|
725 |
response = search_and_scrape(
|
726 |
query=message,
|
727 |
chat_history=chat_history,
|