Omnibus commited on
Commit
57c61e4
1 Parent(s): dfa4bc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -14,6 +14,7 @@ from prompts import (
14
  FINDER,
15
  COMPRESS_HISTORY_PROMPT,
16
  COMPRESS_DATA_PROMPT,
 
17
  LOG_PROMPT,
18
  LOG_RESPONSE,
19
  PREFIX,
@@ -291,7 +292,7 @@ def find_all(purpose,task,history, url):
291
  rawp = []
292
  source = requests.get(url)
293
  #source = urllib.request.urlopen(url).read()
294
- soup = bs4.BeautifulSoup(source.text,'lxml')
295
  # title of the page
296
  print(soup.title)
297
  # get attributes:
 
14
  FINDER,
15
  COMPRESS_HISTORY_PROMPT,
16
  COMPRESS_DATA_PROMPT,
17
+ COMPRESS_DATA_PROMPT_SMALL,
18
  LOG_PROMPT,
19
  LOG_RESPONSE,
20
  PREFIX,
 
292
  rawp = []
293
  source = requests.get(url)
294
  #source = urllib.request.urlopen(url).read()
295
+ soup = bs4.BeautifulSoup(source,'lxml')
296
  # title of the page
297
  print(soup.title)
298
  # get attributes: