Spaces:
Runtime error
Runtime error
masa729406
commited on
Commit
Β·
b63dcce
1
Parent(s):
f59b30a
Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,11 @@ import requests
|
|
20 |
from bs4 import BeautifulSoup as bs
|
21 |
from requests_html import AsyncHTMLSession
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
df_train = pd.read_csv('df_train.csv')
|
24 |
X = df_train.drop('audience', axis=1)
|
25 |
y = df_train['audience']
|
|
|
20 |
from bs4 import BeautifulSoup as bs
|
21 |
from requests_html import AsyncHTMLSession
|
22 |
|
23 |
+
# WebγγΌγΈγεεΎγγ¦θ§£ζγγ
|
24 |
+
load_url = "https://www.football-lab.jp/kyot/match/"
|
25 |
+
html = requests.get(load_url)
|
26 |
+
soup = bs(html.content, "html.parser")
|
27 |
+
|
28 |
df_train = pd.read_csv('df_train.csv')
|
29 |
X = df_train.drop('audience', axis=1)
|
30 |
y = df_train['audience']
|