Omnibus commited on
Commit
fa8674a
1 Parent(s): c9f38cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ save_data=f'https://huggingface.co/datasets/{reponame}/raw/main/'
27
  token_self = os.environ['HF_TOKEN']
28
  api=HfApi(token=token_self)
29
 
30
- def find_all(purpose,task,history, url, result):
31
  return_list=[]
32
  print (url)
33
  print (f"trying URL:: {url}")
@@ -69,7 +69,7 @@ def find_all(purpose,task,history, url, result):
69
  #else:
70
  # history = "observation: The search query I used did not return a valid response"
71
 
72
- return "MAIN", None, history, task
73
 
74
  def read_txt(txt_path):
75
  text=""
 
27
  token_self = os.environ['HF_TOKEN']
28
  api=HfApi(token=token_self)
29
 
30
+ def find_all(url):
31
  return_list=[]
32
  print (url)
33
  print (f"trying URL:: {url}")
 
69
  #else:
70
  # history = "observation: The search query I used did not return a valid response"
71
 
72
+ #return "MAIN", None, history, task
73
 
74
  def read_txt(txt_path):
75
  text=""