rbughao commited on
Commit
2b46450
·
verified ·
1 Parent(s): 1909773

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -9,8 +9,9 @@ CLEANR = re.compile('<.*?>')
9
 
10
  def measure_readability(message,history):
11
  response = urllib.request.urlopen(message)
12
- html = response.read().decode('utf8')
13
- cleantext = BeautifulSoup(html,'lxml').text
 
14
  return 'answer'
15
  text = re.sub(CLEANR,'', cleantext)
16
 
 
9
 
10
  def measure_readability(message,history):
11
  response = urllib.request.urlopen(message)
12
+ html = response.read().decode('utf8')
13
+ cleantext = BeautifulSoup(html).text
14
+ #cleantext = BeautifulSoup(html,'lxml').text
15
  return 'answer'
16
  text = re.sub(CLEANR,'', cleantext)
17