awacke1 commited on
Commit
4c679bb
β€’
1 Parent(s): 2f16975

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ import lxml
93
 
94
  def define(word):
95
  url = f'https://www.dictionary.com/browse/{word}?s=t'
96
- web_page = bs(requests.get(url, {}).text, "lxml")
97
  definition= soup.find("meta", property="og:description")
98
  st.write(definition)
99
 
 
93
 
94
  def define(word):
95
  url = f'https://www.dictionary.com/browse/{word}?s=t'
96
+ web_page = soup(requests.get(url, {}).text, "lxml")
97
  definition= soup.find("meta", property="og:description")
98
  st.write(definition)
99