Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ import re
|
|
12 |
from pythainlp.tokenize import sent_tokenize
|
13 |
from unstructured.partition.html import partition_html
|
14 |
|
|
|
15 |
elements = partition_html(url=url)
|
16 |
context = [str(element) for element in elements if len(str(element)) >60]
|
17 |
|
|
|
12 |
from pythainlp.tokenize import sent_tokenize
|
13 |
from unstructured.partition.html import partition_html
|
14 |
|
15 |
+
url = "https://www.dataxet.co/media-landscape/2024-th"
|
16 |
elements = partition_html(url=url)
|
17 |
context = [str(element) for element in elements if len(str(element)) >60]
|
18 |
|