lamhieu commited on
Commit
4c4cb2e
1 Parent(s): 0c57d18

chore: update something

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -286,7 +286,7 @@ supported_tools = json.dumps(
286
  "type": "function",
287
  "function": {
288
  "name": "search_on_internet",
289
- "description": "Use this tool to search for information on the internet to answer questions you are unsure about, don't know, or need the latest information to get the most accurate results.",
290
  "parameters": {
291
  "type": "object",
292
  "properties": {
@@ -501,9 +501,7 @@ def generate(
501
  # search_with_wikipedia(query=keyword, language=language)
502
  # )
503
 
504
- gr.Info(
505
- "Searching for information on the Google.", duration=5, visible=True
506
- )
507
  document_references.extend(
508
  search_with_google(
509
  query=keyword,
 
286
  "type": "function",
287
  "function": {
288
  "name": "search_on_internet",
289
+ "description": "Use this tool to search for information on the internet to answer questions you are unsure about, don't know or need the latest information (e.g. news, reports, companies, people,...) to give the most accurate results.",
290
  "parameters": {
291
  "type": "object",
292
  "properties": {
 
501
  # search_with_wikipedia(query=keyword, language=language)
502
  # )
503
 
504
+ gr.Info("Searching for information on the Google.")
 
 
505
  document_references.extend(
506
  search_with_google(
507
  query=keyword,