Spaces:
Running
Running
Commit
·
92ffedf
1
Parent(s):
12506e4
Add acknowledgements
Browse files- acknowledgements.md +9 -0
- app.py +5 -0
acknowledgements.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Acknowledgements
|
| 2 |
+
|
| 3 |
+
The general idea of having player cards for NPB players was inspired by the player cards of [TJStats](https://x.com/TJStats) and [PitchProfiler](https://x.com/pitchprofiler).
|
| 4 |
+
|
| 5 |
+
The approach to visualizing pitch locations was inspired by [Stephen-Sutton Brown](https://x.com/srbrown70/status/1846934896268169390/photo/1).
|
| 6 |
+
|
| 7 |
+
The attempt to be more aesthetically-minded (ex. more conscious focus on font choice and legibility) was inspired by the hockey player cards of [JFresh](https://x.com/JFreshHockey).
|
| 8 |
+
|
| 9 |
+
Thanks to [ぼーのさん](https://bo-no05.hatenadiary.org/) for answering some of my questions while making this.
|
app.py
CHANGED
|
@@ -17,6 +17,9 @@ limitations = '''**General Limitations**
|
|
| 17 |
- As new players make their debut, some names may be missing or not translated/transliterated correctly.
|
| 18 |
'''
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
if __name__ == '__main__':
|
| 21 |
with gr.Blocks(css=css) as app:
|
| 22 |
with gr.Tab('Pitcher Overview'):
|
|
@@ -25,6 +28,8 @@ if __name__ == '__main__':
|
|
| 25 |
create_pitch_leaderboard()
|
| 26 |
with gr.Tab('Daily/Weekly Leaderboard'):
|
| 27 |
create_daily_weekly_leaderboard_app(data_df)
|
|
|
|
|
|
|
| 28 |
|
| 29 |
gr.Markdown(f'**Data up to:** {latest_data_date}')
|
| 30 |
gr.Markdown(f'**Last updated:** {updated}')
|
|
|
|
| 17 |
- As new players make their debut, some names may be missing or not translated/transliterated correctly.
|
| 18 |
'''
|
| 19 |
|
| 20 |
+
with open('acknowledgements.md', 'r') as f:
|
| 21 |
+
acknowledgements = f.read()
|
| 22 |
+
|
| 23 |
if __name__ == '__main__':
|
| 24 |
with gr.Blocks(css=css) as app:
|
| 25 |
with gr.Tab('Pitcher Overview'):
|
|
|
|
| 28 |
create_pitch_leaderboard()
|
| 29 |
with gr.Tab('Daily/Weekly Leaderboard'):
|
| 30 |
create_daily_weekly_leaderboard_app(data_df)
|
| 31 |
+
with gr.Tab('Acknowledgements'):
|
| 32 |
+
gr.Markdown(acknowledgements)
|
| 33 |
|
| 34 |
gr.Markdown(f'**Data up to:** {latest_data_date}')
|
| 35 |
gr.Markdown(f'**Last updated:** {updated}')
|