Shreyas094
commited on
Commit
•
9a34e6e
1
Parent(s):
1b91814
Update app.py
Browse files
app.py
CHANGED
@@ -720,8 +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 |
-
gr.Info("
|
724 |
-
yield "
|
725 |
response = search_and_scrape(
|
726 |
query=message,
|
727 |
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("Initiating Web Search")
|
724 |
+
yield "Request you to sit back and relax until I scrape the web for up-to-date information"
|
725 |
response = search_and_scrape(
|
726 |
query=message,
|
727 |
chat_history=chat_history,
|