lamhieu commited on
Commit
b392e8c
·
1 Parent(s): 313f431

chore: update something

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -277,7 +277,7 @@ supported_tools = json.dumps(
277
  "type": "function",
278
  "function": {
279
  "name": "search_on_internet",
280
- "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.",
281
  "parameters": {
282
  "type": "object",
283
  "properties": {
@@ -490,9 +490,7 @@ def generate(
490
  # search_with_wikipedia(query=keyword, language=language)
491
  # )
492
 
493
- gr.Info(
494
- "Searching for information on the Google.", duration=5, visible=True
495
- )
496
  document_references.extend(
497
  search_with_google(
498
  query=keyword,
 
277
  "type": "function",
278
  "function": {
279
  "name": "search_on_internet",
280
+ "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.",
281
  "parameters": {
282
  "type": "object",
283
  "properties": {
 
490
  # search_with_wikipedia(query=keyword, language=language)
491
  # )
492
 
493
+ gr.Info("Searching for information on the Google.")
 
 
494
  document_references.extend(
495
  search_with_google(
496
  query=keyword,