Spaces:
Sleeping
Sleeping
Commit
·
3a007f9
1
Parent(s):
5bb5836
Change gradio version
Browse files- README.md +1 -1
- pitcher_dashboard.py +3 -3
README.md
CHANGED
|
@@ -2,5 +2,5 @@
|
|
| 2 |
title: npb
|
| 3 |
app_file: app.py
|
| 4 |
sdk: gradio
|
| 5 |
-
sdk_version:
|
| 6 |
---
|
|
|
|
| 2 |
title: npb
|
| 3 |
app_file: app.py
|
| 4 |
sdk: gradio
|
| 5 |
+
sdk_version: 5.16.0
|
| 6 |
---
|
pitcher_dashboard.py
CHANGED
|
@@ -15,8 +15,8 @@ os.makedirs('files', exist_ok=True)
|
|
| 15 |
|
| 16 |
def create_pitcher_dashboard():
|
| 17 |
with gr.Blocks(
|
| 18 |
-
css=css
|
| 19 |
-
) as
|
| 20 |
gr.Markdown('''
|
| 21 |
# NPB data visualization demo
|
| 22 |
[Data from SportsNavi](https://sports.yahoo.co.jp/)
|
|
@@ -109,7 +109,7 @@ def create_pitcher_dashboard():
|
|
| 109 |
- DataFrame precision inconsistent
|
| 110 |
'''
|
| 111 |
)
|
| 112 |
-
return
|
| 113 |
|
| 114 |
if __name__ == '__main__':
|
| 115 |
create_pitcher_dashboard().launch(
|
|
|
|
| 15 |
|
| 16 |
def create_pitcher_dashboard():
|
| 17 |
with gr.Blocks(
|
| 18 |
+
# css=css
|
| 19 |
+
) as demo:
|
| 20 |
gr.Markdown('''
|
| 21 |
# NPB data visualization demo
|
| 22 |
[Data from SportsNavi](https://sports.yahoo.co.jp/)
|
|
|
|
| 109 |
- DataFrame precision inconsistent
|
| 110 |
'''
|
| 111 |
)
|
| 112 |
+
return demo
|
| 113 |
|
| 114 |
if __name__ == '__main__':
|
| 115 |
create_pitcher_dashboard().launch(
|