Shreyas094 commited on
Commit
9a34e6e
1 Parent(s): 1b91814

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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("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,
 
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,