mgokg commited on
Commit
87823b4
·
verified ·
1 Parent(s): cb954b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def websearch(prompt):
39
  response = requests.get(url, headers=headers)
40
  soup = BeautifulSoup(response.content, 'html.parser')
41
  response_text = soup.find('body')
42
- prompt = f"{search_term}\n use this result from a google search to answer the question \n {response_text.text}"
43
  #result = predict(prompt)
44
  return response_text.text
45
 
 
39
  response = requests.get(url, headers=headers)
40
  soup = BeautifulSoup(response.content, 'html.parser')
41
  response_text = soup.find('body')
42
+ #prompt = f"{search_term}\n use this result from a google search to answer the question \n {response_text.text}"
43
  #result = predict(prompt)
44
  return response_text.text
45