masa729406 commited on
Commit
cb7c9d8
·
1 Parent(s): ba41dce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,4 +1,12 @@
1
  import gradio as gr
 
 
 
 
 
 
 
 
2
 
3
  def prediction_audience(イワシの値段):
4
  return イワシの値段 * 1000
 
1
  import gradio as gr
2
+ # resuests モジュールをインポート
3
+ import requests
4
+ from bs4 import BeautifulSoup
5
+
6
+ # Webページを取得して解析する
7
+ load_url = "https://www.football-lab.jp/kyot/match/"
8
+ html = requests.get(load_url)
9
+ soup = BeautifulSoup(html.content, "html.parser")
10
 
11
  def prediction_audience(イワシの値段):
12
  return イワシの値段 * 1000