BillBojangeles2000 commited on
Commit
9750c43
·
1 Parent(s): 9487794

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -54,9 +54,8 @@ tool = language_tool_python.LanguageToolPublicAPI('en-US')
54
 
55
  # Define the Streamlit app
56
  st.title("NLP Testing and Scoring App")
57
- topic = st.text_input("Enter a topic (optional):")
58
  # Web scraping and text cleaning
59
- entity = topic
60
  prefix = "https://wiki.kidzsearch.com/wiki/"
61
  page = requests.get(f'{prefix}{entity}')
62
  res = BeautifulSoup(page.content, 'html.parser')
 
54
 
55
  # Define the Streamlit app
56
  st.title("NLP Testing and Scoring App")
 
57
  # Web scraping and text cleaning
58
+ entity = "Canada"
59
  prefix = "https://wiki.kidzsearch.com/wiki/"
60
  page = requests.get(f'{prefix}{entity}')
61
  res = BeautifulSoup(page.content, 'html.parser')