Spaces:
Running
Running
Update app.py
Browse files
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 |
|