Spaces:
Runtime error
Runtime error
Commit
·
bcf327a
1
Parent(s):
9ca337b
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ st.title("NLP Testing and Scoring App")
|
|
59 |
topic = st.text_input("Enter a topic (optional):")
|
60 |
|
61 |
# Web scraping and text cleaning
|
62 |
-
entity =
|
63 |
prefix = "https://wiki.kidzsearch.com/wiki/"
|
64 |
page = requests.get(f'{prefix}{entity}')
|
65 |
res = BeautifulSoup(page.content, 'html.parser')
|
|
|
59 |
topic = st.text_input("Enter a topic (optional):")
|
60 |
|
61 |
# Web scraping and text cleaning
|
62 |
+
entity = topic
|
63 |
prefix = "https://wiki.kidzsearch.com/wiki/"
|
64 |
page = requests.get(f'{prefix}{entity}')
|
65 |
res = BeautifulSoup(page.content, 'html.parser')
|