patrickramos's picture
Turn off sharing in
333b8ac
raw
history blame contribute delete
719 Bytes
import gradio as gr
from pitcher_dashboard import create_pitcher_dashboard
from pitch_leaderboard import create_pitch_leaderboard
from daily_weekly_leaderboard import create_daily_pitcher_leaderboard
from css import css
with gr.Blocks(
css=css
) as demo:
gr.Markdown('''
# NPB data visualization demo
[Data from SportsNavi](https://sports.yahoo.co.jp/)
''')
with gr.Tab('Pitcher Dashboard'):
pitcher_dashboard = create_pitcher_dashboard()
with gr.Tab('Pitch Leaderboard'):
pitch_leaderboard_app = create_pitch_leaderboard()
with gr.Tab('Daily/Weekly Leaderboard'):
daily_pitcher_leaderboard_app = create_daily_pitcher_leaderboard()
demo.launch(
# share=True,
debug=True
)